Bug? Re: GHC version 5.02.2 is available - SuSE RPMs

Jorge Adriano jadrian@mat.uc.pt
Sat, 12 Jan 2002 15:51:08 +0000


> Here are SuSE RPMs (built with SuSE 7.3 but I guess they also
> work with earlier versions):
>
>   http://www.informatik.uni-bonn.de/~ralf/ghc-5.02.2-1.i386.rpm
>   http://www.informatik.uni-bonn.de/~ralf/ghc-prof-5.02.2-1.i386.rpm

Just tried them out and something seems to be wrong... I'm running SuSE 7.3.
This simple program,

> module Main where
> main :: IO()
> main = do 
>       putStr "n:"
>       n <- readLn :: IO(Int)
>       print n

Used to work fine with ghc 5.00.2, that is, it would print "n:", then wait 
for the input, and finaly print n.
With Ghc 5.02.2 it only prints "n:" after reading the n.

Unless I'm missing something here it seems like a bug to me.
Haven't tried installing from the tarball yet.

J.A.

P.S.:
It's good to see that SuSE ghc rpms are beeing maintained, thanks!