[project @ 2003-09-20 17:26:46 by ross]
authorross <unknown>
Sat, 20 Sep 2003 17:26:49 +0000 (17:26 +0000)
committerross <unknown>
Sat, 20 Sep 2003 17:26:49 +0000 (17:26 +0000)
commitdbaa3bb30eaf9d806357e41435dab32695c47842
treec990d7a7dd195b5f34450f589b79ba2994cdefac
parent71d25e0ac3a401cf7d21822ecaa0eee84d5a0417
[project @ 2003-09-20 17:26:46 by ross]
Re-arrange the interface to TcMatches to allow typechecking of case
commands (part of arrow notation):

* replace the export of the internal tcGRHSs with a more specific
  tcGRHSsPat for checking PatMonoBinds.

* generalize match contexts in the same way as stmt contexts, to include
  a typechecker for the bodies of alts.

This should probably be reviewed, but I hope it can make it into STABLE
after a while.
ghc/compiler/typecheck/TcArrows.lhs
ghc/compiler/typecheck/TcBinds.lhs
ghc/compiler/typecheck/TcExpr.lhs
ghc/compiler/typecheck/TcMatches.hi-boot
ghc/compiler/typecheck/TcMatches.hi-boot-5
ghc/compiler/typecheck/TcMatches.hi-boot-6
ghc/compiler/typecheck/TcMatches.lhs