Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
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
Domain Nodelet?
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 lurking in the Monastery: (10)
As of 2022-05-24 08:47 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (82 votes). Check out past polls.

    Notices?