summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-04-28Merge branch 'master' into seqfnsseqfnsRich Hickey
2010-04-28turn off annotations test for nowRich 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-27tests for annotationsStuart Halloway
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-26^ does what #^ does, reader metadataRich 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-24filter test-classesStuart Halloway
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-21tests for case (#296)Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-20tests for #299Stuart 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-20Use bigint division when converting ratios to longs.Alex Osborne
BigDecimal division is not precise enough for some large ratios yielding incorrect results: (long 10000000000000000000/3) => 3333333333333332992 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-19fix instanceOf in statement contextsRich 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-16updating tests to match deftype/defrecord split - only defrecord does ↵Stuart Halloway
hashCode/equals for you - direct implementers now included in extends? - types less dynamic, using per-test-named-types instead of reloading Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16deftype factories and object methodsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16re-extendingStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16tests for extenders and satisifies?Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16test plus hack to reload a protocolStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16more protocol testsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-04-16added build step to compile things for test purposes, initial testsStuart 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-16Merge branch 'patches'Rich Hickey
2010-04-16fold closes clearing into the path system, fixes #232Rich Hickey