John Gateley

(call/cc call/cc) puzzle


The call/cc (now known as call-with-current-continuation) function from Scheme is incredibly powerful and non-intuitive. To see how non-intuitive, try to determine what the following expression does in some context.
(call/cc call/cc)
When you think you know, you can check your answer.