continuation passing style | Contact Us
 

WK :: continuation passing style ::
[ W E B   K N O W L E D G E   O N L I N E :: continuation passing style ]
 Resources ::
WB
WBT
Addons
Baby
Cooking
Books
Runway
Legal
DVD
Electronics
Outdoor Living
Kitchen
Change
Magazines
Pop Music
PCs
Computers
Cameras
Software
Toys
Tools
Video
Computer


[W/K] :: continuation passing style


2 definitions 
 for continuation passing style
From The Free On-line Dictionary of Computing (27 SEP 03) :

  Continuation Passing Style
       
          (CPS) A semantically clean language with continuations used as
          an intermediate language for Scheme and the SML/NJ
          compiler.
       
          ["Rabbit: A Compiler for Scheme", G.L. Steele, AI-TR-474, MIT
          (May 1978)].
       
          ["Compiling With Continuations", A. Appel, Cambridge U Press
          1992].
       
       

From The Free On-line Dictionary of Computing (27 SEP 03) :

  continuation passing style
       
           (CPS) A style of programming in which every user
          function f takes an extra argument c known as a continuation.
          Whenever f would normally return a result r to its caller, it
          instead returns the result of applying the continuation to r.
          The continuation thus represents the whole of the rest of the
          computation.  Some examples:
       
           normal (direct style)    -->	continuation passing
       
           square x = x * x		square x k = k (x*x)
       
           g (square 23)			square 23 g
       
           (square 3) + 1			square 3 ( \ s . s+1 )
       
          (1995-04-04)
       
       


Request more information on continuation passing style
[W/K]
King of Torts
Perricone Prescription
Atkins
Linksys
Art
SanDisk
Cooking
Kids
Videos
Bosch
Porter
Strait-Line Laser
Legal
Black and Decker
Leatherman
Logitech Cordless
Home/Office
Religion
Windows XP
EuroPro Shark
Harrisons
Art
Management
Copyright Web Knowledge Online Inc. 1997-2003 - [privacy policy] -