Re:Exotic List Monads
by mjhoy on Thursday January 07, 2021 @09:39PM
(#25680824)
I don't think that holds for left identity:
[ Parent
| on HN ]
Exactly, and the right identity is also violated:
m >>= pure ≡ mahh right! serves me right, i should've spent more than 10 secs checking
Everyone experiences this in Haskell, where you make some statement online and then someone tells you some way in which it’s incorrect.
I’m sure most real-world Haskell programs are “incorrect” in some way.