Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!brutus.cs.uiuc.edu!sane From: sane@clitus.cs.uiuc.edu (Aamod Sane) Newsgroups: comp.lang.scheme Subject: call/cc Keywords: continuations Message-ID: <1990Mar8.064319.28399@brutus.cs.uiuc.edu> Date: 8 Mar 90 06:43:19 GMT Sender: news@brutus.cs.uiuc.edu Distribution: comp Organization: U of Illinois, CS Dept., Systems Research Group Lines: 18 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