On Dec 20, 2011, at 12:11 PM, David Nolen wrote:

>  Just make sure if you are attach :line metadata that you wrap with (Integer. 
> n)

That works. Thanks again.

Given that:

>  (fact (type (inc (Integer. 0))) => java.lang.Long


... would it be reasonable to ask that the compiler (or something) be changed 
so that inadvertent use of a Long doesn't blow up? Or maybe Haskellishly have a 
line number be some sort of wrapped type?

-----
Brian Marick, Artisanal Labrador
Now working at http://path11.com
Contract programming in Ruby and Clojure
Occasional consulting on Agile


-- 
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