Experimenting with continuations in Scala.