3 ms·
biwascheme> (call-with-current-continuation (lambda (k) (k 12))) => 12 It's based on Dybvig's "Three Implementation Models for Scheme" http://www.cs.unm.edu
by pwpwp 14y ago
biwascheme> (call-with-current-continuation (lambda (k) (k 12)))
=> 12
It's based on Dybvig's "Three Implementation Models for Scheme" http://www.cs.unm.edu/~williams/cs491/three-imp.pdf http://www.cs.unm.edu/~williams/cs491/three-imp.pdf
- jlongster 14y agoOh, cool. It appears to be an interpreter, which is interesting, and worth profiling to see how it performs. I'll have to do that later.