3 ms·
>> things like printing > Stop conflating monads with IO. > I have no desire for being trolled Wow, that was a clever troll, didn't catch on until the end. W
by Mithaldu 13y ago
>> things like printing
> Stop conflating monads with IO.
> I have no desire for being trolled
Wow, that was a clever troll, didn't catch on until the end. Would've been better if you hadn't ended it on an obvious declaration of intent though. :)
--
Edit: In retrospect and for later readers i guess i should point out that i forgot one house rule Haskell brings along: Any function can only ever take one single argument. Some monads make it possible to bunch multiple values into one. So the monopoly analogy above is still perfectly accurate.
- FreeFull 13y agoTaking multiple arguments has nothing to do with Monads. You can either take in a tuple of arguments f (x,y,z) = x*y + z or take them in curried form f x y z = x*y + z where f 3 is a single argument function that returns another function. This ends up being the same as functions having multiple arguments, in practice.