Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jun 21, 2010
  1. auto-box loop arg when primitive local recur mismatch, print warning …

    authored
    …that this is happening when *warn-on-reflection* is true
Commits on Jun 19, 2010
Commits on Jun 18, 2010
  1. Allow ' as constituent character

    authored
    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
Commits on Jun 17, 2010
  1. Change = to include type of boxed numbers (and collections thereof). …

    authored
    …Use == for inter-type numeric equivalence.
Commits on Jun 16, 2010
  1. Unify numeric semantics around longs, with throw on overflow. Allow n…

    authored
    …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
Commits on Jun 13, 2010
  1. incomplete work in progress

    authored
Commits on Jun 12, 2010
  1. incomplete work in progress

    authored
Commits on Jun 11, 2010
Commits on Jun 10, 2010
  1. @stuarthalloway

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

    stuarthalloway authored committed
    Signed-off-by: Rich Hickey <richhickey@gmail.com>
  2. detect constant maps, emit as constants

    authored
    break down constant inits into separate methods, call from init
    move core.clj to statics
Commits on Jun 9, 2010
  1. moved statics to using arglist metadata, support recursion and variad…

    authored
    …ics, limit primitives to long and double
Commits on Jun 8, 2010
  1. @cgrand

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

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

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

    khinsen authored stuarthalloway committed
    … method argument names
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  2. @khinsen @stuarthalloway

    Remove potential conflicts between field names and method argument na…

    khinsen authored stuarthalloway committed
    …mes in defrecord
    
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
  3. @stuarthalloway

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

    stuarthalloway authored
    Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
Something went wrong with that request. Please try again.