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"
2011/2/8 Brian Marick :
> 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 - down
https://github.com/technomancy/leiningen/blob/master/sample.project.clj
try adding
:aot [clojure.contrib.condition]
to your project.clj ?
On Mon, Feb 7, 2011 at 17:56, Brian Marick wrote:
> The header documentation for clojure.contrib.condition says:
>
> Note: requires AOT compilation.
>