Newsgroups: perl.perl6.internals
From: l...@toetsch.at (Leopold Toetsch)
Date: Fri, 19 Mar 2004 11:10:12 +0100
Local: Fri, Mar 19 2004 5:10 am
Subject: Re: Continuation usage
Piers Cawley <pdcaw...@bofh.org.uk> wrote: Why would it print 3 lines? > Jens Rieks <par...@jensbeimsurfen.de> writes: >> Hi, >> does the attached test use the Continuation in a correct way? > Easy. Brrr. > One part of your problem (The state of P16-18) is, therefore, a bug in Yep. > your program. The other part seems to be a bug in the current > implementation of Continuation. > A new Continuation should grab the current P1 continuation. If you I don't get that. Below is a stripped down version of Jens program. There > later invoke that Continuation, it should make the jump and reset > P1. Until that's done, all we have is a heavyweight goto. are 2 ways of invokeing the return continuation: invoke conti or conti() The former is more or less ignored by imcc, the latter is recognized as How schould it really work? .sub _main .sub _func .sub _do_something Thanks, You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||