[project @ 2005-01-05 15:28:39 by simonpj]
authorsimonpj <unknown>
Wed, 5 Jan 2005 15:28:54 +0000 (15:28 +0000)
committersimonpj <unknown>
Wed, 5 Jan 2005 15:28:54 +0000 (15:28 +0000)
commit19da321b73fb79535f72bf4abac69a3592f10e6d
treebbdc570433062092c6ccc68c9dace3391d88772a
parentdf68e45e1d7b934488be4d794f160ad5fac2a62c
[project @ 2005-01-05 15:28:39 by simonpj]
------------------------
          GADTs and unification
   ------------------------

1. Adjustment to typechecking of pattern matching the call to
   gadtRefineTys in TcPat.  Now wobbly types are treated as wild
   cards in the unification process.

2. Add the WildCard possibility to the BindFlag in types/Unify.lhs

3. Some related refactoring of tcMatchTys etc.
ghc/compiler/typecheck/Inst.lhs
ghc/compiler/typecheck/TcMatches.lhs
ghc/compiler/typecheck/TcPat.lhs
ghc/compiler/types/FunDeps.lhs
ghc/compiler/types/InstEnv.lhs
ghc/compiler/types/Type.lhs
ghc/compiler/types/Unify.lhs