Re: [Haskell-cafe] GHC optimization changes evaluation strategy?

2007-03-13 Thread Chris Kuklewicz
Dusan Kolar wrote: > Hello all, > > the following program changes behavior if translated using different > options for ghc compiler. Is this correct or not? I used The Glorious > Glasgow Haskell Compilation System, version 6.6. And I would expect in > both cases behavior 1. > > But I may be wro

[Haskell-cafe] GHC optimization changes evaluation strategy?

2007-03-13 Thread Dusan Kolar
Hello all, the following program changes behavior if translated using different options for ghc compiler. Is this correct or not? I used The Glorious Glasgow Haskell Compilation System, version 6.6. And I would expect in both cases behavior 1. But I may be wrong... Thanks for any resolut