On Sat, 19 Aug 2017 09:28:49 -0400, George Neuner <gneun...@comcast.net> wrote:
>When you say, (let/ec foo ... ) , all that's happening is the compiler >defines a pseudo-function named 'foo' that when called will exit from >the block of code in the scope of the let. (call/cc foo ...) does the >same, but assumes you will be immediately calling a function instead of >executing inline code. Invoking foo anywhere in the function (or its >descendants) will jump back out of the call chain. Scheme makes >invoking the continuation look like a function call even though it >really is a jump that won't return. Need to clarify that a bit because makes continuations sound a bit too much like exceptions. Code that invokes a continuation has to have a reference to the continuation's (pseudo)function ... in contrast any code can raise a generic exception. George -- You received this message because you are subscribed to the Google Groups "Racket Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to racket-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.