On Oct 1, 4:55 am, James Reeves <[EMAIL PROTECTED]> wrote:
> > Related question: Is there any way to "return" side-channel data past
> > intermediate frames which don't understand the protocol (i.e. no
> > throwing an exception and prematurely terminating them)?
>
> Maybe I've misunderstood, but it seems to me that the functional way
> of carrying side channel information between functions is to use
> monads. One could event create a macro that mimics Haskell's "do"
> notation.
>
Hmm... something similar was discussed here:
http://lambda-the-ultimate.org/classic/message9361.html
In any case we don't have type system based solutions available in a
dynamic language.
Dynamic vars work fine in-thread and don't taint the call chain.
Rich
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---