That's simpler than the example I was typing up, so I will stop now. :-)

Another problem is that you might want the binding to be in effect  
while defining a sequence, but not while realizing it. Haven't come up  
with any realistic examples of that, though.

Cheers,
Stuart

> Uh oh, I see what you mean Stuart. I made f1 return a list of lists:
>
> (defn f1 []
> ( map (fn [x]
>        (map (fn [y] *num*) [x])) [1]))
>
> user> (safe-binding [*num* 1024] (f1))
> ((16))
>
>
> OK, so much for the magic bullet.
>
> Hugh
>
> >


--~--~---------~--~----~------------~-------~--~----~
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 
clojure+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/clojure?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to