A nice tutorial on Continuation and delimited Continuation here.