On Mon, Dec 6, 2010 at 10:27 PM, Jason Wolfe <jawo...@berkeley.edu> wrote: > This happens in both Clojure 1.2 and 1.3-latest: > > user=> (require 'clojure.contrib.core) > nil > user=> (clojure.contrib.core/-?> 1 inc) > 2 > user=> (clojure.contrib.core/-?> 1 inc inc) > CompilerException java.lang.Exception: Unable to resolve symbol: -?> > in this context, compiling:(NO_SOURCE_PATH:3)
Sure looks like a quoting problem: user=> (require 'clojure.contrib.core) nil user=> (clojure.contrib.core/-?> 1 inc) 2 user=> (clojure.contrib.core/-?> 1 inc inc) #<CompilerException java.lang.Exception: Unable to resolve symbol: -?> in this context (NO_SOURCE_FILE:214)> user=> (use 'clojure.contrib.core) nil user=> (clojure.contrib.core/-?> 1 inc) 2 user=> (clojure.contrib.core/-?> 1 inc inc) 3 user=> It's obviously calling -?> recursively when there's additional args, and when it does, it's obviously looking for -?> in the current ns instead of for clojure.contrib.core/-?>. Which wouldn't happen with `(-?> ~foo ~bar). Someone used something like (list '-?> foo bar) instead, or something. Someone ought to open an Assembla ticket for this. -- 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