pass a TyContext
into equal
etc, rather than its components
This commit is contained in:
parent
065ebedf2d
commit
bee6eeacdf
5 changed files with 119 additions and 110 deletions
|
@ -75,7 +75,7 @@ ctx = MkTyContext new
|
|||
inferredTypeEq : TyContext Three d n -> (exp, got : Term Three d n) -> M ()
|
||||
inferredTypeEq ctx exp got =
|
||||
catchError
|
||||
(inj $ equalType ctx.dctx ctx.tctx exp got)
|
||||
(inj $ equalType ctx exp got)
|
||||
(\_ : Error' => throwError $ WrongInfer exp got)
|
||||
|
||||
qoutEq : (exp, got : QOutput Three n) -> M ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue