3 ms·
Unfortunately I can't think of another language outside of the LISP family that supports continuations well. Javascript has closures, which you can use to impl
by jluxenberg 16y ago
Unfortunately I can't think of another language outside of the LISP family that supports continuations well.
Javascript has closures, which you can use to implement continuations. See http://marijn.haverbeke.nl/cps/ http://marijn.haverbeke.nl/cps/
- paulgb 16y agoFirst-class functions can be used for continuation-passing style, but to do what Seaside does elegantly you really need first-class continuations. There's an interesting article on how Seaside uses continuations here: http://blog.fitzell.ca/2009/01/seaside-partial-continuations.html http://blog.fitzell.ca/2009/01/seaside-partial-continuations...