2 ms·
Return value polymorphism is hugely powerful though: it means you can write stuff that works for any Monad (involving return). Without it you can't sensibly do
by moomin 10y ago
Return value polymorphism is hugely powerful though: it means you can write stuff that works for any Monad (involving return). Without it you can't sensibly do that.
- dllthomas 10y agoSure you can. It just involves a little more manual plumbing. Certainly less convenient, but not actually as bad as all that in the typical case.