Problems importing PrelGHC

2000-04-08 Thread Sven Panne
Currently importing PrelGHC does not work if -O is used, e.g. when compiling hslibs: ../../ghc/driver/ghc-inplace -O -recomp -cpp -optC-fglasgow-exts -fvia-C -Rghc-timing -I../../ghc/includes -imonads -static -hisuf p_hi -O -prof -c Bits.lhs -o Bits.p_o -osuf p_o Bits.lhs:13: Could not fin

compiled program loops

2000-04-08 Thread Jan Kort
I compiled a program using ghc version 4.06 and it goes into a loop, I tried figuring out what goes on with "trace", but it looks as if this is a ghc bug. Wether it loops or not depends on the length of the list: if you remove 1 "Int 1" line in the code below it will finish immediatly. I need a f