S. Alexander Jacobson wonders:
> If you have a statement like:
>
> result= a || b || c 
> 
> does Haskell guarantee that a gets evaluated before b?

Indeed it does, for see the standard Prelude definition of (||):

True  || _       =  True
False || x       =  x

Hope that helps.

Slainte,
Alex.


Reply via email to