
14 Dec
2006
14 Dec
'06
9:04 p.m.
Hi
Did you compile with -O (optimisations). Sometimes this fixes things, and its just good practice.
It's slower to compile, and might fix things in GHC Haskell, but other compilers don't all have -O flags, so its generally best to make your program at least have the right sort of time/space behaviour using Haskell. If your code doesn't work without -O, then it probably won't work in Hugs or Yhc. Thanks Neil