News for hackers. Stuff that matters.
Re:Stack safety for free? by lmm on Monday December 06, 2021 @09:12AM (#29459914)
Yes, this is a standard technique. It's more or less recovering the trampoline monad via continuations as a universal monad. You can use the same technique to implement other effects as well, if you're working in the kind of crazy language that has continuations but no monads.

There are no comments on this comment yet.