No continuations or coroutines support on the JVM, as far as I know.
However, there are a few monad libraries for clojure with which you
would probably
 be able to do what you want. (Using the continuation monad...)
http://www.intensivesystems.net/tutorials/monads_101.html , for example.

Delimited continuations also allows to mimic coroutines (and more).
There is this:

https://github.com/swannodette/delimc

There is another slight problem: the JVM do not have proper tail
recursions which makes
working with continuations trickier.
So you should know about trampolining.
http://pramode.net/clojure/2010/05/08/clojure-trampoline/

The best thing would be to tell us what you want to use coroutines for
and we could answer better on
what would be the best choice in clojure.

-- 
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
Note that posts from new members are moderated - please be patient with your 
first post.
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