f584d24348 ^
f500aeb1fd ^
1 2
3
4 5 6 7 8 9
10
import scala.util.continuations._ object Test { def main(args : Array[String]) { println(reset { val x = shift(List(1,2,3).flatMap[Int, List[Int]]) List(x + 2) }) } }