2011/2/8 Brian Marick <mar...@exampler.com>: > The header documentation for clojure.contrib.condition says: > > Note: requires AOT compilation. > > What do I therefore do differently? How should my program text change?
The clojure-contrib jar file that your build tool - or yourself, if you do stuff manually - downloaded contains an ahead of time compiled version of that namespace. So, unless you compile contrib yourself, you shouldn't have to do anything special. > Conditions seem to work in the REPL, but not in my program. I don't know if > that's due to the mysteries of AOT compiling or something else I'm doing > wrong. Please enlighten. I guess that depeds on what you mean by "in my program". (The way I do development, I would consider my program and the repl to be the same thing.) I think this is a problem caused by how you launch clojure. Do you use leiningen, cake or something else (if manually, how have you set up the class path)? What behaves differently if you run (require 'clojure.contrib.condition) in the repl and "in your program"? // raek -- 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