On Feb 14, 2011, at 8:00 AM, Rasmus Svensson wrote: >> 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"?
Thanks for the offer of help. I decided that going monadic would be cleaner. I'll revisit this if I turn out to be wrong. ----- Brian Marick, Artisanal Labrador Contract programming in Ruby and Clojure Author of /Ring/ (forthcoming; sample: http://exampler.com/tmp/ring.pdf) www.exampler.com, www.exampler.com/blog, www.twitter.com/marick -- 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