What are Scala continuations and why use them?
My blog does explain what reset and shift do, so you may want to read that again. Another good source, which I also point in my blog, is the Wikipedia entry on continuation passing style. That one is, by far, the most clear on the subject, though it does not use Scala syntax, and the … Read more