Hi there,
I suspect the program included below is
incorrect. Nevertheless it compiles fine under
ghc-3.01 patchlevel 0.
> module Main( main ) where
> import List( genericLength )
> main = putStr (show integral) >>
> putStr "\n" >>
> return ()
> where integral = genericLength []
The reason why I am having problems with this
program is that I cannot infer whether integral
should be an Int or an Integer.
ghc-3.01 thinks integral is an Int (a big
positive integral is sometimes shown as a
negative number).
Regards,
Marc