On Nov 27, 1:58 pm, lpetit <[EMAIL PROTECTED]> wrote:
> and the modification of trampoline along these lines :
> (defn trampoline [f]
>   (let [ret (f)]
>      (cond f
>        (fn? ret) (recur ret)
>        (instance? org.clojure.lang.NoBoingWrapper f) (.returnInstance
> f)
>        else ret)))
Mmm might read (cond ret   , and also (instance?
org.clojure.lang.NoBoingWrapper ret) (.returnInstance ret) of course,

--
Laurent
--~--~---------~--~----~------------~-------~--~----~
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
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to