Carlos Camarão <[EMAIL PROTECTED]> writes: 
> 
> 
> Compiling (under ghc 3.02) and running the following: 
> 
> ----------------------------------------------
> main = seq (putStrLn "xpto") (print "bug")
> ---------------------------------------------
> 
> produces: 
> 
> xpto
> Segmentation fault caught, address = 8049a14
> Aborted

Hi,

ghc-n.xx (n < 4) cannot handle 'seq' over function
values (which ((putStrLn "xpto"):: IO ()) is.)

Fixed in ghc-4.00 and later.

--sigbjorn
 

Reply via email to