Age | Commit message (Collapse) | Author | |
---|---|---|---|
2010-06-21 | auto-box loop arg when primitive local recur mismatch, print warning that ↵equal | Rich Hickey | |
this is happening when *warn-on-reflection* is true | |||
2010-06-19 | restore hard error on primitive local recur mismatch | Rich Hickey | |
2010-06-18 | Swap defaults, now non-promoting +, * etc is default. Use +', *' etc for ↵ | Rich Hickey | |
arbitrary precision. | |||
2010-06-18 | print recur mismatch warnings, for now | Rich Hickey | |
2010-06-18 | Allow ' as constituent character | Rich Hickey | |
Bigints auto-reduce in all cases Restore +, *, -, inc, dec as auto-promoting ops, will never return primitive integers, will auto-promote even when given primitives. Add +', *', -', inc', dec', that do exactly what their counterparts do except when given integers of long or smaller, in which case they will not auto-promote but instead throw on overflow, and can return primitives. Return primitive doubles on all ops involving primitive doubles Box on long ops only after checking for overflow | |||
2010-06-17 | Change = to include type of boxed numbers (and collections thereof). Use == ↵ | Rich Hickey | |
for inter-type numeric equivalence. | |||
2010-06-17 | Util.equals unboxed support for long/doublenum | Rich Hickey | |
2010-06-17 | tighten up narrowing conversion checks | Rich Hickey | |
2010-06-17 | tighten up numeric comparisons | Rich Hickey | |
2010-06-16 | return bigints from ratio ops only when bigint operand | Rich Hickey | |
2010-06-16 | bigdecs trump ratios when combined | Rich Hickey | |
2010-06-16 | canonic boxing of floats and longs in array seqs | Rich Hickey | |
2010-06-16 | return doubles from quotient/remainder on doubles | Rich Hickey | |
2010-06-16 | fix hashcode of empty lazy seq | Rich Hickey | |
2010-06-16 | remove unchecked-inc from amap, areduce | Rich Hickey | |
2010-06-15 | Unify numeric semantics around longs, with throw on overflow. Allow numeric ↵ | Rich Hickey | |
literals to be primitive initializers. Canonicalize boxing of integers, if it fits in int, is Integer, else Long, thus primitive coercions can't be used to get particular boxed types, use Long/valueOf etc. Ask for BigIntegers if you want arbitrary precision, new literal number format - append 'N' for BigInteger. BigIntegers do not reduce automatically, are contagious. New particular names for unchecked ops - unchecked-xxx-int or unchecked-xxx-long. You should need far fewer hints for primitive perf, and avoid int casts and any casting of numeric literals, see: http://gist.github.com/440102 | |||
2010-06-13 | incomplete work in progress | Rich Hickey | |
2010-06-12 | incomplete work in progress | Rich Hickey | |
2010-06-11 | re-enable protocol-based reduceprim | Rich Hickey | |
2010-06-10 | flow type hints on static invoke calls | Rich Hickey | |
2010-06-10 | #377 test now reports file/line for failures in repl or Ant build | Stuart Halloway | |
Signed-off-by: Rich Hickey <richhickey@gmail.com> | |||
2010-06-10 | simplified keyword callsites, made compatible with static fns | Rich Hickey | |
2010-06-10 | munge dashes in ns names for static calls | Rich Hickey | |
2010-06-10 | eliminate reflection in chunk* and other core calls | Rich Hickey | |
2010-06-10 | account for longs/doubles on stack for static fns | Rich Hickey | |
2010-06-10 | add support for constant vectors and sets | Rich Hickey | |
2010-06-09 | detect constant maps, emit as constants | Rich Hickey | |
break down constant inits into separate methods, call from init move core.clj to statics | |||
2010-06-09 | moved statics to using arglist metadata, support recursion and variadics, ↵ | Rich Hickey | |
limit primitives to long and double | |||
2010-06-09 | move exception handler in eval to properly retain line | Rich Hickey | |
2010-06-08 | direct calls to statics, integrating into core fns | Rich Hickey | |
2010-06-08 | first cut at primitives in fn sigs | Rich Hickey | |
2010-06-08 | read ^:foo bar as ^{:foo true} bar and merge existing metatada. See #375. | Christophe Grand | |
Signed-off-by: Rich Hickey <richhickey@gmail.com> | |||
2010-06-07 | Added testcase for defrecord with field names that used to clash with method ↵ | Konrad Hinsen | |
argument names Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-07 | Remove potential conflicts between field names and method argument names in ↵ | Konrad Hinsen | |
defrecord Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-07 | tidy up and test #257, remove spurious .rej file | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-07 | added fnil to supply default values #257 | Timothy Pratley | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-07 | make get-in faster #256 | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-07 | get-in support for default #256 | Timothy Pratley | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-07 | fix pop! when the tree depth decreases | Christophe Grand | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-06 | prevent dynamic classes from being flushed before use | Rich Hickey | |
2010-06-03 | test for #361: merge-with for defrecord | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | Improve merge-with to work with map-like types that don't implement ↵ | Konrad Hinsen | |
clojure.lang.IFn for lookup Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | #359 request from Stuart Sierra: split-lines, blank?, escape | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | minor fixes to #359: | Stuart Halloway | |
- add clojure.string to build, - make replace,replace-first use CharSequence in same way Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | code review of #359: pass in CharSequence, but return String | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | #359 driven to abstraction: CharSequence, not string | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | string fns take an object, you can't pass nil #359 | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | abstraction fix to split: preserve vector nature of host return value #359 | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | metadata review #359 | Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> | |||
2010-06-03 | string perf tweaks, tests #359 | David Liebke and Stuart Halloway | |
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com> |