[plt-scheme] Continuations

From: Joel J. Adamson (jadamson at partners.org)
Date: Tue Nov 6 10:01:11 EST 2007

Joseph Anthony Pasquale Holsten <joseph at josephholsten.com> writes:

> Okay, with the closure discussion wrapping up, what is a
> continuation? I get closures as in
> (define (f x) (lambda (y) (* x y)))
>
> but is that a continuation too? Is a closure necessarily a
> continuation, or vise versa, or are they mutually exclusive?
>

Will Farr made a nice posting on this with a link on his blog:
http://wmfarr.blogspot.com/2007/09/quick-note-on-continuations-to.html

It cleared up a lot of confusion for me.  I'm less confused about what
continuations are than when they will be useful to directly
manipulate.  I understand the escape/abortive continuation way of
catching exceptions, but can people list other situations?

Joel
-- 
Joel J. Adamson
Biostatistician
Pediatric Psychopharmacology Research Unit
Massachusetts General Hospital
Boston, MA  02114
(617) 643-1432
(303) 880-3109


The information transmitted in this electronic communication is intended only for the person or entity to whom it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this information in error, please contact the Compliance HelpLine at 800-856-1983 and properly dispose of this information.


Posted on the users mailing list.