[Haskell] discrepancy between nhc and ghc