3 ms·
Essentially the same as continuation passing style with a choice of continuation to return with.
by mmaniac 2y ago
Essentially the same as continuation passing style with a choice of continuation to return with.
- convolvatron 2y agoI'm a CPS person, so I always struggle to understand why this answer isn't the default. sugaring would be a) a second implicit argument for the error return b) an error() exit to go along with return() c) a call-with-handler() to override the default of passing your handler to your child that...looks alot like exceptions