From: Robert Dober Date: 2006-07-07T03:33:12+09:00 Subject: Re: [Bug?] Confused exception handling in Continuation Context ------=_Part_75919_26102461.1152210789696 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 7/6/06, Yukihiro Matsumoto wrote: > > Hi, > > In message "Re: [Bug?] Confused exception handling in Continuation > Context" > on Fri, 7 Jul 2006 02:42:35 +0900, "Robert Dober" < > robert.dober@gmail.com> writes: > > |I have the feeling that my limitted understanding of continuations puts > you > |off the track. As a matter of fact I do not complain that there is an > |exception, this exception is intentional, I complain that it is > |handled/rescued when it shall not. > > This is the point. A continuation is like a time machine. By calling > it, time would rewind back to the point of callcc, including context, > call stack, etc. This means, despite your expectation, the exception > you're complaining is raised in the _first_ call of will_raise, not > the second one. > > matz. > > I see, you are serious about it ;) I will try to take this to ruby-talk as I really fail to understand, but I except the statement as a fact :( and this might potentially be all I need to understand it. Thank you for your patience. Robert --=20 Deux choses sont infinies : l'univers et la b=EAtise humaine As I just prooved ;) en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------=_Part_75919_26102461.1152210789696--