summaryrefslogtreecommitdiff
path: root/src/clj
AgeCommit message (Collapse)Author
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
2009-10-28Preserve test var metadata within deftest. Fixes #201.Phil Hagelberg
Signed-off-by: Chouser <chouser@n01se.net>
2009-10-28Don't repeatedly compose on calls to use-fixtures. Fixes #194.Phil Hagelberg
Updated tests and added a docstring to use-fixtures. Signed-off-by: Chouser <chouser@n01se.net>
2009-10-28added sorted-set-by, adapted from timothypratley's patch, fixes #79Chas Emerick
Signed-off-by: Chouser <chouser@n01se.net>
2009-10-28first cut at defclass/deftypeRich Hickey
2009-10-24limit to interfaces, refactoringRich Hickey
2009-10-22Merge branch 'master' into newRich Hickey
2009-10-16Implement take-last Fixes #151Chouser
2009-09-28Fix compare doc defect - fixes #189unknown
Signed-off-by: Chouser <chouser@n01se.net>
2009-09-28implemented TransientHashSet Fixes #173Christophe Grand
Signed-off-by: Chouser <chouser@n01se.net>
2009-09-28fix #171: ns reflection warnings, and others that are easyMike Hinchey
Signed-off-by: Chouser <chouser@n01se.net>
2009-09-28Added public thread-local bindings interfaceMeikel Brandmeyer
Added push-thread-bindings, pop-thread-bindings and get-thread-bindings to interface with clojure.lang.Var for thread-local bindings. Modified binding to use the new interface. Fixes #169 Signed-off-by: Chouser <chouser@n01se.net>
2009-09-28core.clj: binding doc string now says it's parallel, fixes #152Stuart Sierra
Signed-off-by: Chouser <chouser@n01se.net>
2009-09-22added ->>Rich Hickey
2009-09-12proxy now caches generated classes per namespace and include a hash to ↵Christophe Grand
distinguish proxy classes implementing homonymous interfaces. Fixes #181 Signed-off-by: Chouser <chouser@n01se.net>
2009-08-29fix juxtRich Hickey
2009-08-29added juxt, juxt[aposes] fns and retuns a fn that returns vector of their ↵Rich Hickey
results
2009-08-29added arity overloads to applyRich Hickey
2009-08-29added arity overloads to list*Rich Hickey
2009-08-29added arity overloads to compRich Hickey
2009-08-24Add support for chunked seqs to 'for'. Refs #1Chouser
2009-08-24Add chunked seq support to concatChouser
concat is defined early, so I moved the the chunk fns up which required changing 'chunk-cons' to use static methods directly instead of core fns. Refs #1
2009-08-24delay seq on chunk-rest in doseqChouser
doseq was calling seq on chunk-rest too early. When combinded with chunked concat this caused some laziness tests to fail. Refs #1
2009-08-20Merge branch 'lazychain'Rich Hickey
2009-08-20fix interleave not fully lazyRich Hickey
2009-08-19Add chunked seq support to doseq, v2. Refs #1Chouser
2009-08-19inline nth with not-foundRich Hickey
2009-08-05First cut at TransientHashMapChristophe Grand
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2009-08-03renamed mutable -> transient, immutable! -> persistent!Rich Hickey
2009-08-03Merge branch 'chunks' into merge-chunksRich Hickey
2009-08-02refactor so mutable vectors support ordinary read functions: ↵chunksRich Hickey
get/count/nth/function-call, with thread safety check
2009-07-31switch future-call and promise to new newRich Hickey
2009-07-26fixed keyword ctor, added tests, fix #154Steve Gilardi
Signed-off-by: Chouser <chouser@n01se.net>
2009-07-25Move metadata in vector-zip and seq-zipMeikel Brandmeyer
Fixes #134 Signed-off-by: Chouser <chouser@n01se.net>