Upload_transparent

Applications of Continuations

 
 
 
 
 
Value This
Doc
Scribd
Average
     
Pages: 22 43
Words: 5963 13640
Characters: 34178 81678
Lines: 96 623
     
     
Letters per word: 5.73 5.99
Words per line: 62.11 21.89
Words per page: 271.05 317.21

Add to your reading list

Flag_red Flag this document

Document Information

855 Reads | 0 Comments

Description

The lecture is in three parts. In the rst part we de ne, primarily by example, the key
terms. These are conventional procedures, escape procedures and continuations. The
primitive notions of lambda^ and call/cc are presented. In the second part we develop
examples of simple applications, speci cally a simple LISP-like BREAK and a CYCLE pro-
cedure which loops inde nitely, but makes available the ability to break out of the loop.
Also in this section we point out that call/cc is not strictly necessary if all procedures
are written in continuation-passing-styl e. We complete this section by demonstrating that
even the unpopular GO TO style programming of LISP's PROG looks reasonable in the
presence of the proper uses of call/cc. In the last section we develop a DISPATCHER for
synchronous processes.

Pdf_16x16 22 Pages


Date Added

04/26/2008

Category

Uncategorized.

Tags
Groups
Copyright

Attribution Non-commercial

More info »

 

or use Facebook Connect