Re: stranal/SaAbsInt.lhs:668: Non-exhaustive patterns in function `absApply'

1998-08-03 Thread Sigbjorn Finne
le F( f ) where > > > class C a b where > > > f :: a -> b -> b > > > instance C Bool b where > > > f a b = if a then b else b > > > instance C (IO Bool) (IO b) where > > > f a b = a >>= \bool -> f bool b > > >

Re: stranal/SaAbsInt.lhs:668: Non-exhaustive patterns in function `absApply'

1998-08-03 Thread Simon Marlow
f a b = a >>= \bool -> f bool b > > > Leads to a ghc-3.02 crash: > stranal/SaAbsInt.lhs:668: Non-exhaustive patterns in function `absApply' This looks like a bug in the strictness analyser. Until we can track down the cause, a simple workaround is to use the fl

stranal/SaAbsInt.lhs:668: Non-exhaustive patterns in function `absApply'

1998-08-01 Thread Marc van Dongen
Hi there, > module F( f ) where > class C a b where > f :: a -> b -> b > instance C Bool b where > f a b = if a then b else b > instance C (IO Bool) (IO b) where > f a b = a >>= \bool -> f bool b Leads to a ghc-3.02 crash: stranal/SaAbsInt.lhs:668: