add name to type arg in Context' and Telescope'
This commit is contained in:
parent
c75332be44
commit
dbd0a3a451
1 changed files with 2 additions and 2 deletions
|
@ -22,7 +22,7 @@ data Telescope : (tm : Nat -> Type) -> (from, to : Nat) -> Type where
|
|||
%name Telescope tel
|
||||
|
||||
public export
|
||||
Telescope' : Type -> (from, to : Nat) -> Type
|
||||
Telescope' : (a : Type) -> (from, to : Nat) -> Type
|
||||
Telescope' a = Telescope (\_ => a)
|
||||
|
||||
||| a global context is actually just a telescope over no existing bindings
|
||||
|
@ -31,7 +31,7 @@ Context : (tm : Nat -> Type) -> (len : Nat) -> Type
|
|||
Context tm len = Telescope tm 0 len
|
||||
|
||||
public export
|
||||
Context' : Type -> (len : Nat) -> Type
|
||||
Context' : (a : Type) -> (len : Nat) -> Type
|
||||
Context' a = Context (\_ => a)
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue