RnIfaces.lhs:931: Non-exhaustive patterns in case

1999-12-14 Thread Ilya Beylin
the compile errors? May sound silly, but my first thought was "Cool! ghc warns about incomplete cases", and then it took me a while to realise that there is no RnIfaces.lhs anywhere in my filesystem :) Regards, Ilya Beylin The verbose output follows: --- The Glorio

infix constructor in a pattern

1999-12-14 Thread Ilya Beylin
The following code is accepted by hugs and hbc, but produces an error in ghc-4.04-1 - module Bug where infix 5 |- infix 9 := data Equal = Char := Int (|-) :: Int - Equal - Bool 0 |- x:=y = 1 |- x:=y 2 |- (x:=y) = 0 |- x:=y _ |- _ = False -