Signature for Inst.isValidWantedEqInst
authorManuel M T Chakravarty <chak@cse.unsw.edu.au>
Mon, 15 Sep 2008 03:01:18 +0000 (03:01 +0000)
committerManuel M T Chakravarty <chak@cse.unsw.edu.au>
Mon, 15 Sep 2008 03:01:18 +0000 (03:01 +0000)
compiler/typecheck/Inst.lhs

index 57e4ab7..1a8efe2 100644 (file)
@@ -1051,6 +1051,7 @@ Operations on entire EqInst.
 \begin{code}
 -- For debugging, make sure the cotv of a wanted is not filled.
 --
+isValidWantedEqInst :: Inst -> TcM Bool
 isValidWantedEqInst (EqInst {tci_co = Left cotv})
   = liftM not $ isFilledMetaTyVar cotv
 isValidWantedEqInst _ = return True