Hacker News new | ask | show | jobs
by fadmmatt 5964 days ago
This is a great article. Continuations are rarely understood, which is unfortunate, given their power.

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.