logoalt Hacker News

shawn_wtoday at 12:53 AM1 replyview on HN

Go straight for delimited continuations, which give you global ones for free.


Replies

bjolitoday at 8:09 AM

Oh. 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.