I think TCO is very doable and likely to appear in some common JVMs at some point. Continuations, on the other hand, are likely to require a massive infrastructure overhaul.
Cliff On Jan 26, 4:38 am, Rich Hickey <richhic...@gmail.com> wrote: > On Jan 26, 3:20 am, Konrad Hinsen <konrad.hin...@laposte.net> wrote: > > > On 25.01.2009, at 21:33, Rich Hickey wrote: > > > Something else that would be nice for implementing generators and > > thus streams is Scheme-style continuations. That would permit to > > write generators like in Python, as loopy code with "yield" calls > > inserted where a value should be produced. This could probably be > > implemented in the form of a continuation monad, but I am not sure > > the performance would be great. Did you ever consider providing > > continuations directly as a language feature? Assuming of course that > > the JVM permits it, which I am not sure about. > > Continuations, like TCO, will have to come from the JVM. > > 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 clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en -~----------~----~----~----~------~----~------~--~---