This link has been bookmarked by 12 people . It was first bookmarked on 13 Aug 2008, by someone privately.
-
21 Jun 13
-
A continuation *is* a closure - there's no difference, conceptually (there may be implementation-level differences, which essentially reflect that a continuation is a closure which has been created in a different way than most closures).
-
functions don't have to return to the place that they're called from, which is fundamental to the notion of continuation.
-
abandon the idea of functions that automatically return to their caller, because that's a mental barrier which will trip you up repeatedly
-
Note that even imperative languages, like C or BASIC or Java, work like this, just in a very restricted form, in which the contination passed to every function is always a "return continuation", which invokes the continuation at the point of the call which invoked the function in question.
-
once you start messing with control flow, it's easy to get confused.
-
-
03 Jan 09
-
07 May 08
-
30 Apr 08
-
26 Nov 06
onceuponapriorithe idea that functions don't have to return to the place that they're called from, which is fundamental to the notion of continuation.
Would you like to comment?
Join Diigo for a free account, or sign in if you are already a member.