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

Neil Mayhew neil_mayhew at users.sourceforge.net
Fri Apr 12 18:43:54 UTC 2019

On 2019-04-12 8:47 AM, Richard Eisenberg wrote:
> Perhaps those other languages got it wrong, then. :)

I don't think so. It's just that short-circuit evaluation isn't a direct 
consequence of associativity in those languages because they're 
otherwise strict and this is an exception to their default semantics.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20190412/60219adc/attachment.html>

More information about the Haskell-Cafe mailing list