From: Jim Weirich Date: 2005-09-22T12:07:33+09:00 Subject: Re: Continuation - where does it continue On Wednesday 21 September 2005 10:51 pm, rpardee@gmail.com wrote: > 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. You've got good eyes. That's exactly what it is ... a call to the "callcc" method passing a block. -- -- Jim Weirich jim@weirichhouse.org http://onestepback.org ----------------------------------------------------------------- "Beware of bugs in the above code; I have only proved it correct, not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)