[Haskell-cafe] Why are && and || right-associative?

Richard Eisenberg rae at richarde.dev
Fri Apr 12 02:12:46 UTC 2019

Hi café,

Why are && and || in the Prelude right-associative? This contradicts my expectation and the way these work in other languages. That said, I can't think of any harm in it. This came up from a question asked by a student, and I have no idea why the design is this way.


More information about the Haskell-Cafe mailing list