On Fri, Mar 19, 2004 at 08:57:28AM +0100, Leopold Toetsch wrote: : What's the usage of Continuations from HLLs point of view? Can we get : some hints, what is intended?
>From the standpoint of Perl 6, I hope to hide continuations far, far away in a galaxy long ago. No wait, wrong movie... We can certainly make it the default that a routine is not going to do anything fancy with continuations unless it is explicitly declared to allow it. As to what that declaration should be, I have no idea. Probably just a trait that says, "is continuationalizableish" or some such. : I'd like to have, if possible a clear indication: that's a plain : function or method call and this is not. I think the possible speedup is : worth the effort. I have no problem with "plain" being the default. I suppose you could declare it explicitly if you like: sub foo () is plain {...} Then obviously the other kind would be: sub bar () is peanut {...} Hmm, actually, "smooth" and "nutty" might be more accurate. Larry