the following program can't be compiled with ghc 6.4.1