summaryrefslogtreecommitdiff
path: root/src/clj
AgeCommit message (Collapse)Author
2009-12-03Remove deprecated ^ reader macro from core sources; refs #215Stuart Sierra
Signed-off-by: Chouser <chouser@n01se.net>
2009-12-02doc fixRich Hickey
2009-12-02Add branch name "master" to version.propertiesChouser
2009-12-02Add branch name "new" to version.propertiesChouser
2009-12-01gen one-off names for dynamic deftypeRich Hickey
2009-11-30add :on-interface for code requiring class, since :on now symbolRich Hickey
2009-11-30doc updateRich Hickey
2009-11-30deftype and reify support direct implementation of protocolsRich Hickey
no more . in deftype/reify methods no more implicit this, must be first param
2009-11-30protocols gen interface of same name, e.g. my.ns/Protocol gens ↵Rich Hickey
my.ns.Protocol interface names get munged reify, deftype, protocol callsites and . calling munge gen-interface is dynamic (undocumented as yet, interface TBD)
2009-11-30restore filter docRich Hickey
2009-11-25Merge branch 'master' into newRich Hickey
2009-11-24#209 Unifying array support for primativesunknown
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24add type-hint to defmethod to avoid spurious reflection warningsChas Emerick
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24fixed zip/down on leaves, refs #185Achim Passen
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24Add clojure.test.junit; refs #160Stuart Sierra
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24Add char? fn to test for Character.Drew Raines
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24give meaningful names to inline expanders, fix #136Mike Hinchey
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24zip/children now checks whether the node is a branchMeikel Brandmeyer
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24*-seq should return nil if the LazySeq is empty.Drew Raines
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-24direct linking of var calls, inlining of self callsRich Hickey
Granularity and control options for these still TBD, right now all of clojure* is direct linked, and contrib.mock known failing
2009-11-21direct calls through to on interface methodsRich Hickey
2009-11-16added extend-protocolRich Hickey
2009-11-16added extend-type and extend-classRich Hickey
2009-11-15got rid of :on interfaceRich Hickey
2009-11-15perf tweaksRich Hickey
2009-11-14put method impl cache on fns themselves, get rid of boxRich Hickey
2009-11-14tie ILookup and IKeywordLookup to valAtRich Hickey
2009-11-13defprotocol now warns when it overwrites an exising method varChouser
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-11-13fix some's doc stringRich Hickey
2009-11-12make protocol cache/satisfies? nil-tolerant, ditto supers/basesRich Hickey
2009-11-12use hierarchy to determine impl given multiple extends in superclasses of ↵Rich Hickey
target, now: target type, target class, superclasses (not interfaces) of target (in reverse derivation order, not including Object), interfaces (in arbitrary order for now), Object
2009-11-12got rid of defclass. deftype now can refer to self-type, will emit ↵Rich Hickey
same-named class when AOT compiling, thus replacing defclass.
2009-11-12throw on protocol sig with no args, must be at least oneRich Hickey
2009-11-12be tolerant of missing doc string in protocol sigRich Hickey
2009-11-11fix cache table setupRich Hickey
2009-11-11first cut at protocolsRich Hickey
2009-11-10make -> and ->> metadata-aware Fixes #206Christophe Grand
Signed-off-by: Chouser <chouser@n01se.net>
2009-11-10Added bound-fn to define thread-local binding aware functionsMeikel Brandmeyer
bound-fn captures the thread-local bindings in effect where the function is defined. Installs these bindings before executing the body. This is useful for helper functions running in a different thread. Excluded with-bindings from clojure/main.clj to prevent name clash. Fixes #170 Signed-off-by: Chouser <chouser@n01se.net>
2009-11-06really fix case with no or default-only clausesRich Hickey
2009-11-06fix case with no or default-only clausesRich Hickey
2009-11-04generate second ctor for defclass/type taking designated fields only, ↵Rich Hickey
defaulting rest to nil
2009-11-03tweaks to keyword call sites, enable in defclass/type by defaultRich Hickey
2009-10-30methodnames now take form (.methodname [args] body) in reify/deftype/classRich Hickey
2009-10-30newnew is now reifyRich Hickey
2009-10-30IPersistentMap opt-in, dissoc support, doc tweaksRich Hickey
2009-10-30moved deftype load after printRich Hickey
2009-10-30Add print-method handlers for deftype and defclass objectsChouser
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-10-29perf tweaksRich Hickey
2009-10-29added caseRich Hickey
2009-10-29don't propagate field hints into method bodiesRich Hickey