(no title)
greenfield1 | 2 years ago
But the Maybe monad does have its beauty, which the in-built Optional doesn't really provide. If this package makes people more accepting, then let them.
greenfield1 | 2 years ago
But the Maybe monad does have its beauty, which the in-built Optional doesn't really provide. If this package makes people more accepting, then let them.
skykooler|2 years ago
greenfield1|2 years ago
Python allows recursion too. Are you using recursion? Why not just write it in Haskell?
Python allows function calls too. Are you using function calls? Why not just write it in a functional language like Haskell?
A monad is just a general programming concept, like recursion and function calls. One particular language pioneering the concept's heavy use doesn't mean other languages can't adapt it. To the contrary, languages get influences from one another all the time. Especially Python.
Do you like list comprehensions? This super-pythonic thing? Goes back to functional languages in the 70s and the name was coined by Philip Wadler, one of the main Haskell gurus. If you like list comprehensions, this feels like trying to write Haskell code in Python. Why not just write it in Haskell?
sdfghswe|2 years ago
Good software isn't art.
greenfield1|2 years ago