How about the Control.Retry module in the 'retry' package?
http://hackage.haskell.org/package/retry
Hi. I was curious if Haskell has something like "restarts" in Common
Lisp. My search engines didn't give relevant results for "Haskell
restarts". However, there were several results for "Haskell coroutines"
and, from what I can gather, restarts and coroutines are a similar or
related subject.
--
http://www.lugod.org/presentations/pgp/why.html
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe