basicTypes/Var.lhs:194: Non-exhaustive patterns in function readMutTyVar

Jeffrey R. Lewis jeff at galconn.com
Tue Nov 28 03:55:39 EST 2000


Simon Peyton-Jones wrote:

> Thanks.  I've added both tests to the HEAD.
> Jeff: let us know the outcome re bug-hunt.

Attached is a much shorter demonstration of the first bug.  I don't have the HEAD checked out anywhere right now, so it isn't convenient to change it myself.

--Jeff

P.S.  the second bug isn't really a bug (in the sense that we need to hunt for it!) - the extension of functional dependencies over derived instances isn't implemeneted yet!
-------------- next part --------------
module Bug where

primDup :: Int -> IO Int
primDup = undefined

dup () = call primDup

class Call    c h | c -> h where
    call  :: c -> h

instance Call c h => Call (Int->c) (Int->h) where call f = call . f


More information about the Glasgow-haskell-bugs mailing list