[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

call/cc



Beginners question:

	I tried to understand the operation of call/cc from Dybvigs text
and the R3.99 without success. Can someone give a good explanation here or
a reference? It is said that the interepreter uses continuations which are 
not visible normally  etc. but I dont quite get this.

I would also like examples/references on the Continuation
Passing style (just building of lambdas, not the call/cc variety). 
I know of examples such as gcd of a list where you can escape
if a 1 is encountered without doing any computation, by building lambdas
and using them only if 1 is not found.


Thanks ,

Aamod Sane
sane@cs.uiuc.edu