3 ms·
CPS transformation is a good thing to do anyway, no? Then CPS your CPS and you have delimited continuations.
by bjoli 1y ago
CPS transformation is a good thing to do anyway, no? Then CPS your CPS and you have delimited continuations.
- shawn_w 1y agoGo straight for delimited continuations, which give you global ones for free.
- bjoli 1y agoOh. I meant not using call/cc, but by doing local CPS transformations. This is the simple way, but has limitations with dynamic uses of reset. A direct implementation is harder, but probably more useful.