Introduction to Delimited Continuations/In action
Appearance
Running this in the REPL looks like this:
scala> run()
What is your name? ** call c(<your name>) to continue **
scala> c("James")
Hello, James!
How old are you? ** call c(<your age>) to continue **
scala> c("29")
You are 29 years old, James!
Where do you live? ** call c(<your town>) to continue **
scala> c("Palo Alto")
You are 29 years old and live in Palo Alto, James!
scala>
|