Geraint.Jones: > Are there well-known differences in the implementations of Haskell in > ghci and hugs? I've got some moderately intricate code (simulations > of pipelined processors) that behave differently - apparently because > ghci Haskell is stricter than hugs Haskell, and I cannot find any > obviously relevant claims about strictness in the documentation.
Hugs does no optimisations, while GHC does a truckload, including strictness analysis. Some of these optimisations prevent space leaks. You might want to also check with ghc -Onot , ghc -O2 (esp. if performance matters). -- Don _______________________________________________ Glasgow-haskell-users mailing list [email protected] http://www.haskell.org/mailman/listinfo/glasgow-haskell-users
