> > If you have a statement like: > > result= a || b || c > > does Haskell guarantee that a gets evaluated before b? > If it does then I only have to protect against pattern match failure in > one place, a. Yes; if a is true, b and c won't be evaluated. That's part of the defn of || Simon
- order of evalutation of || S. Alexander Jacobson
- order of evalutation of || Alex Ferguson
- Re: order of evalutation of || Simon L Peyton Jones
- Re: order of evalutation of || Arjan van Ijzendoorn
- Re: order of evalutation of || Martin Norbäck