summaryrefslogtreecommitdiff
path: root/src/clj
AgeCommit message (Collapse)Author
2010-04-28Merge branch 'master' into seqfnsseqfnsRich Hickey
2010-04-28added flatten, group-by, partition-by, frequencies, reductions, rand-nth, ↵Rich Hickey
seq-contains?, partition-all, shuffle no-arg range is infinite 0,1,2,3... opts for vector
2010-04-27Add containsKey and entryAt support to Vec, plus tests. Fixes #314.Daniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-27eliminate reflection in #266Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-27Add Comparable support to Vec, with tests. Fixes #266.Daniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-27route all coercions through RTRich Hickey
2010-04-27made defrecords SerializableRich Hickey
2010-04-27added parameter destructuring support to reify and deftype/recordRich Hickey
2010-04-26support type and parameter annotations in definterfaceRich Hickey
2010-04-26support parameter annotations in deftype/recordRich Hickey
2010-04-26replace #^s with ^sRich Hickey
2010-04-24munge package names in definterface, #306Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-24re-import changed deftype, see #303Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-24java.util.Map for defrecord, #313Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-24make defrecord .cons work, #231Stuart Halloway
- based on original patch from Allen Rohner - altered to handle nil correctly - added test cases Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-23initial annotation support, for definterface/type/record types (put in ↵Rich Hickey
metadata on type name), deftype/record fields (in metadata on field names), and deftype/record methods (in metadata on method name)
2010-04-23propagate metadata to classnames in definterface/type/recordRich Hickey
2010-04-22reversible support for Vec #267Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-21IPersistentCollection methods for VecSeq (see #297)Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20Allow code run with clojure.main -e to use *in*. Fixes #299.Phil Hagelberg
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20munge genclass field names to keep Java side happy, see #104Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20Don't truncate large ratios when converting to bigint. Fixes #290.Alex Osborne
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20use into in gen-class to avoid duplicate key errorRich Hickey
2010-04-20gave defmulti defonce-like semantics, i.e. calling again won't trash multifn ↵Rich Hickey
object, to help in reload scenarios added remove-all-methods for multifns
2010-04-19new perf for protocolsRich Hickey
2010-04-18Remove perf hacks from MethodImplCache, restore new reduce implRich Hickey
2010-04-17disable new reduceRich Hickey
2010-04-17Merge branch 'master' into patchesRich Hickey
2010-04-17prefer more derived interface in protocol, fixes #302Rich Hickey
2010-04-16use .edit and .arr to refer to VecNodeStuart Halloway
- it is a deftype, not a defrecord - bug uncovered by InternalReduce tests Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16InternalReduceStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16guard for nil in implements? testRich Hickey
2010-04-16check that type does not already implement protocol interface when ↵Rich Hickey
extending, fixes #294
2010-04-16Check for identity before equality in .equals for collections, see #96Christophe Grand
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16remove streamsChristophe Grand
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-15don't warn on unbound protocol varsRich Hickey
2010-04-15doc fix, remove reference to factory fnsRich Hickey
2010-04-15remove IDynamicType and type tagsRich Hickey
2010-04-14Merge branch 'master' of git@github.com:richhickey/clojureRich Hickey
2010-04-14first cut of deftype/defrecord splitRich Hickey
2010-04-14change docstring for delay to specifiy that deref forces. See #230Christophe Grand
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-14added bound? and thread-bound?Chas Emerick
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-06Don't let clojure.test/test-var be dynamically bound. Fixes #246.Phil Hagelberg
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-04-06fix lookup thunks to verify target typeRich Hickey
2010-04-06perf tweaks nth, count, getRich Hickey
2010-04-05use reify for ILookupThunk impls in deftypeRich Hickey
2010-04-05catch duplicate set keys for literals and hash-set calls.Rich Hickey
2010-04-05catch duplicate map keys for literals and hash- and array-map calls. Fixes #87Rich Hickey
2010-04-02reify/deftype methods now take target ('this') object as explicit first arg. ↵Rich Hickey
Remove support for :as option. Doc differences, including recur, move gvec and reify calls to new format.
2010-03-23added support for associative destrucuring for seqs by pouring them into a ↵Rich Hickey
map first, thus supporting associative destruring of & args