Closed Gabriella439 closed 2 years ago
I wrote up a post to explain why I typically add these instances: https://www.haskellforall.com/2022/03/applicatives-should-usually-implement.html
Thanks, that was a lot more explanation than I was expecting :) LGTM
Needs some language pragmas too, alas.
Thanks!
You're welcome!
A short justification would be nice :)
Do people generally like these instances? I agree they're certainly lawful, but I worry about getting worse error messages because you can now
<>
a monadic thing when you maybe didn't mean to.