> But I'm not sure why it makes a difference. Definition of foldl is > similar to sum', only with a different argument order: But the compiler can see that sum' is strict in its second argument, so it can use call by value. It can't for foldl. Simon
- `sum' in ghc-4.02 S.D.Mechveliani
- RE: `sum' in ghc-4.02 Simon Peyton-Jones
- `sum' in ghc-4.02 S.D.Mechveliani
- Re: `sum' in ghc-4.02 Marcin 'Qrczak' Kowalczyk
- Re: `sum' in ghc-4.02 Simon Peyton-Jones
- Re: `sum' in ghc-4.02 Marcin 'Qrczak' Kowalczyk