Open benjamin-hodgson opened 7 years ago
Result's Monad instance violates the (<*>) = ap law.
Result
Monad
(<*>) = ap
ghci> Error "a" `ap` Error "b" Error "a" ghci> Error "a" <*> Error "b" Error "ab"
This is a potential "gotcha" and it should at least be documented.
Result
'sMonad
instance violates the(<*>) = ap
law.This is a potential "gotcha" and it should at least be documented.