Re: Nilsafe operators from clojure.core.contrib fail when not referred

2013-01-30 Thread Marko Topolnik
Good point; too late to fix them now that they are about to be deprecated. On Wednesday, January 30, 2013 8:33:12 PM UTC+1, miner wrote: > > In Clojure 1.5 pre-releases, there's a new macro called some-> . The > source looks like it would work fine in earlier versions of Clojure. At > this poi

Re: Nilsafe operators from clojure.core.contrib fail when not referred

2013-01-30 Thread Steve Miner
In Clojure 1.5 pre-releases, there's a new macro called some-> . The source looks like it would work fine in earlier versions of Clojure. At this point, I don't think it's a good idea to keep slightly different versions in contrib. -- -- You received this message because you are subscribed t

Nilsafe operators from clojure.core.contrib fail when not referred

2013-01-30 Thread Marko Topolnik
The expression (clojure.core.incubator/-?> 1 identity identity) fails with Unable to resolve symbol: -?> in this context unless -?> is referred into the local namespace. Why it fails is clear: (macroexpand-1 `(clojure.core.incubator/-?> 1 identity identity)) outputs (-?> (-?> 1 clojure.core/