Hi,

Am 22.10.2009 um 19:56 schrieb Gorsal:

> I would like to know if the following way is the only method to
> introduce global bindings which affect a new thread one starts.
>
> (let [global-var *global-var*]
>  (with-thread nil
>    (binding [*global-var* global-var]
>       )))
>
> Just wanted to make sure there wasn't anything easier:)

This is the correct way at the moment. There will be helper macro  
called bound-fn in the future, but this is not included, yet.

Sincerely
Meikel

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to