In Clojure 1.3, BigInts are said to be "contagious" across operations.

"""
When different types of numbers are used in a math operation, the
result will be the larger or more general of the two types. For
example, any integer operation involving a BigInt will result in a
BigInt, [...].
"""
http://dev.clojure.org/display/doc/Documentation+for+1.3+Numerics

However (type (- 2 1N)) results in java.lang.Long and does not seem to
work accordingly. What's going on here?

Cheers,

Dominikus

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Reply via email to