News for hackers. Stuff that matters.
Re:Are Monads a Waste of Time? by zby on Tuesday February 20, 2018 @03:36PM (#16423946)
"Because mutation gives you tremendous flexibility ... Haskell on the other is using math to construct its patterns" - so mutation is somehow outside of math?
Re:Are Monads a Waste of Time? by smadge on Wednesday February 21, 2018 @12:10PM (#16430971)
x = 0 and x = 1. Therefore by the reflexive and transitive property of equality, 0 = 1.
Re:Are Monads a Waste of Time? by zby on Saturday February 24, 2018 @02:55AM (#16452257)
OK - it uses different notation where '=' is not the same as in maths. But that is kind of trivial. There are perfectly mathematical semantics of both functional and imperative languages.