split up Quox.Typing
This commit is contained in:
parent
ecd3be8bda
commit
f4af1a5a78
5 changed files with 193 additions and 125 deletions
22
lib/Quox/Typing/Context.idr
Normal file
22
lib/Quox/Typing/Context.idr
Normal file
|
@ -0,0 +1,22 @@
|
|||
module Quox.Typing.Context
|
||||
|
||||
import Quox.Syntax
|
||||
import Quox.Context
|
||||
|
||||
|
||||
public export
|
||||
TContext : Type -> Nat -> Nat -> Type
|
||||
TContext q d = Context (Term q d)
|
||||
|
||||
public export
|
||||
QOutput : Type -> Nat -> Type
|
||||
QOutput = Context'
|
||||
|
||||
|
||||
public export
|
||||
record TyContext q d n where
|
||||
constructor MkTyContext
|
||||
dctx : DimEq d
|
||||
tctx : TContext q d n
|
||||
|
||||
%name TyContext ctx
|
Loading…
Add table
Add a link
Reference in a new issue