Scala 2.8.0.RC1 includes the continuations plugin on trunk for the first time, but the details of how to get access to the shift
and reset
operations have changed from previous releases, so it's difficult to follow the blog entries and SO answers out there that talk about continuations but were written for previous versions.
See also http://stackoverflow.com/questions/1512930/what-are-scala-continuations-and-why-use-them which talks about what you might want to do with shift
and reset
once you have them.