[project @ 2001-01-29 08:42:54 by simonpj]
authorsimonpj <unknown>
Mon, 29 Jan 2001 08:42:54 +0000 (08:42 +0000)
committersimonpj <unknown>
Mon, 29 Jan 2001 08:42:54 +0000 (08:42 +0000)
commit9c848a68f7b05aa352cd97d9a75488d20a774736
tree8ed426ca7b1ec1a305c983d7a91773bd21b9a46f
parent6c936babdfb7f9c229b1d01be35728e2caf1d53d
[project @ 2001-01-29 08:42:54 by simonpj]
Be a bit more liberal about allowing instance decls through.
In particular, allow this:

instance C a b => C [a] [b] where ...

if we have

class C a b | a -> b

This is an experimental feature. Furthermore it requires a
little more work (which I have not yet done) to make improvement
work properly.
ghc/compiler/typecheck/TcInstDcls.lhs
ghc/compiler/types/FunDeps.lhs