Continuation - where does it continue

Callcc is a Kernel method

···

-----Original Message-----
From: rpardee@gmail.com [mailto:rpardee@gmail.com]
Sent: Thursday, 22 September 2005 12:52 PM
To: ruby-talk ML
Subject: Re: Continuation - where does it continue

What I don't understand is why the line:

    04 callcc { |cont| return cont}

Doesn't give an 'undefined local method or variable "callcc"' error.
To my noob eyes that looks like a method call w/an accompanying block.
Have you got a clue for me?

Thanks!

-Roy

Ooooh... Right. Woah. Trippy.

I'm going to have to re-read that pickaxe book...

Thanks!