Commits on Jun 21, 2010
  1. @richhickey

    auto-box loop arg when primitive local recur mismatch, print warning …

    …that this is happening when *warn-on-reflection* is true
    richhickey committed Jun 21, 2010
Commits on Jun 19, 2010
  1. @richhickey
  2. @richhickey

    Swap defaults, now non-promoting +, * etc is default. Use +', *' etc …

    …for arbitrary precision.
    richhickey committed Jun 18, 2010
  3. @richhickey
Commits on Jun 18, 2010
  1. @richhickey

    Allow ' as constituent character

    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
    richhickey committed Jun 18, 2010
Commits on Jun 17, 2010
  1. @richhickey

    Change = to include type of boxed numbers (and collections thereof). …

    …Use == for inter-type numeric equivalence.
    richhickey committed Jun 17, 2010
  2. @richhickey
  3. @richhickey
  4. @richhickey
Commits on Jun 16, 2010
  1. @richhickey
  2. @richhickey
  3. @richhickey
  4. @richhickey
  5. @richhickey
  6. @richhickey
  7. @richhickey

    Unify numeric semantics around longs, with throw on overflow. Allow n…

    …umeric 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
    richhickey committed Jun 15, 2010
Commits on Jun 13, 2010
  1. @richhickey

    incomplete work in progress

    richhickey committed Jun 13, 2010
Commits on Jun 12, 2010
  1. @richhickey

    incomplete work in progress

    richhickey committed Jun 12, 2010
Commits on Jun 11, 2010
  1. @richhickey
Commits on Jun 10, 2010
  1. @richhickey
  2. @stuarthalloway @richhickey

    #377 test now reports file/line for failures in repl or Ant build

    Signed-off-by: Rich Hickey <richhickey@gmail.com>
    stuarthalloway committed with richhickey Jun 8, 2010
  3. @richhickey
  4. @richhickey
  5. @richhickey
  6. @richhickey
  7. @richhickey
  8. @richhickey

    detect constant maps, emit as constants

    break down constant inits into separate methods, call from init
    move core.clj to statics
    richhickey committed Jun 9, 2010
Commits on Jun 9, 2010
  1. @richhickey

    moved statics to using arglist metadata, support recursion and variad…

    …ics, limit primitives to long and double
    richhickey committed Jun 9, 2010
  2. @richhickey
  3. @richhickey
Commits on Jun 8, 2010
  1. @richhickey
  2. @cgrand @richhickey

    read ^:foo bar as ^{:foo true} bar and merge existing metatada. See #…

    …375.
    
    Signed-off-by: Rich Hickey <richhickey@gmail.com>
    cgrand committed with richhickey Jun 8, 2010
Commits on Jun 7, 2010
  1. @khinsen @stuarthalloway

    Added testcase for defrecord with field names that used to clash with…

    … method argument names
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
    khinsen committed with stuarthalloway May 28, 2010
  2. @khinsen @stuarthalloway

    Remove potential conflicts between field names and method argument na…

    …mes in defrecord
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
    khinsen committed with stuarthalloway May 28, 2010
  3. @stuarthalloway

    tidy up and test #257, remove spurious .rej file

    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
    stuarthalloway committed Jun 4, 2010