2 ms·
Doing that with higher-order functions instead of with a monad requires the caller to care about something they could let the type system guarantee. I mean: eve
by saurik 9y ago
Doing that with higher-order functions instead of with a monad requires the caller to care about something they could let the type system guarantee. I mean: every single example of using a monad in do donation is just syntax sugar for passing a continuation of the rest of the function to a higher-order function...