It's a bug - we're looking into it. Thanks for the report.
The file
http://liinwww.ira.uka.de/~rahn/bugCW/Body.hs
contains a small(er) piece of code that shows the behavior as well.
Just run make from
http://liinwww.ira.uka.de/~rahn/bugCW/Makefile
to get the *.prof files in
http://liinwww.ira.uka.de/~rahn/bugCW/
With ghc-6.4 is unimportant whether we use 'where' or 'case' syntax. In
ghc-6.4.1 the 'where' syntax repeats some computation.
Hope it helps, regards, Mirko Rahn
--
-- Mirko Rahn -- Tel +49-721 608 7504 --
--- http://liinwww.ira.uka.de/~rahn/ ---
_______________________________________________
Glasgow-haskell-bugs mailing list
Glasgow-haskell-bugs@haskell.org
http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs