I wrote an article for my compilers class that gives examples of how to use continuations (in Scheme):
http://matt.might.net/articles/programming-with-continuation...
It covers basic stuff like exceptions and back-tracking search, and more advanced topics like threads, generators and coroutines.
http://today.java.net/pub/a/today/2008/07/24/fun-with-contin...
I don't find a need for them in AtD (my current project), but when I was doing distributed systems work they were very valuable to me.
I wrote an article for my compilers class that gives examples of how to use continuations (in Scheme):
http://matt.might.net/articles/programming-with-continuation...
It covers basic stuff like exceptions and back-tracking search, and more advanced topics like threads, generators and coroutines.