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

Stefan Monnier monnier at IRO.UMontreal.CA
Fri Apr 12 23:52:02 UTC 2019

> Er? Without laziness, you're going to try to evaluate the bottoms
> regardless of where they are.

Exactly: with lazyness, either associativity gives the same result,
and without lazyness either associativity also gives the same result.
The two seem orthogonal to me.


More information about the Haskell-Cafe mailing list