4 ms·
Monads are the poor man's early return.
by conorbergin 1y ago
Monads are the poor man's early return.
- mrkeen 1y agoAnd the poor man's list, and the poor man's parser, and the poor man's state. We need a poor man's interface to generalise them, as well as suitable poor man's laws to abide by, and pretty soon we'll have some sweet poor man's code re-use!
- uKVZe85V 1y agoIs early return poor man's monad? (Nod to https://stackoverflow.com/questions/2497801/closures-are-poor-mans-objects-and-vice-versa-what-does-this-mean https://stackoverflow.com/questions/2497801/closures-are-poo... yet real question.)