4 ms·
Yes, but they're all just syntactic sugar around call/cc though :) I guess I'll have to check out Rash, it looks really interesting
by dark-star 3y ago
Yes, but they're all just syntactic sugar around call/cc though :)
I guess I'll have to check out Rash, it looks really interesting
- michaelsbradley 3y agoI may be wrong, but I don't think delimited continuations are just syntactic sugar around call/cc, i.e. the former require operators that depart from the semantics of the latter (undelimited continuations).
- dark-star 3y agoI think delimited continuations can be implemented with call/cc if you let the continuation "leak" out of the call/cc body. I'm pretty sure you can implement most, if not all delimited continuation constructs using call/cc. Maybe not in the fastest/most optimal way, but at least theoretically it should be possible It's been a while that I used Scheme though, so my memory may be a bit rusty and I might have missed some things