Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
PerlMonks  

Re: (Perl6) Groking Continuations

by andrewc (Acolyte)
on Apr 08, 2003 at 17:14 UTC ( #249011=note: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
      ;; Guile scheme
      (call-with-current-continuation
    ...
            (+ 3 4)
            (do-something 42 fred)
            (fred 42) ))
    
  2. or download this
    sub call_cc (&)
    {
    ...
            return 64;  # NOTREACHED
    };
    print STDERR "\n";
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://249011]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (8)
As of 2016-06-27 13:11 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    My preferred method of making French fries (chips) is in a ...











    Results (337 votes). Check out past polls.