pre-binding
This commit is contained in:
@@ -36,6 +36,9 @@ Show Icit where
|
|||||||
public export
|
public export
|
||||||
data BD = Bound | Defined
|
data BD = Bound | Defined
|
||||||
|
|
||||||
|
Show BD where
|
||||||
|
show Bound = "bnd"
|
||||||
|
show Defined = "def"
|
||||||
|
|
||||||
public export
|
public export
|
||||||
data Tm : Type where
|
data Tm : Type where
|
||||||
@@ -157,8 +160,13 @@ Show Val where
|
|||||||
show VU = "U"
|
show VU = "U"
|
||||||
|
|
||||||
|
|
||||||
public export
|
-- Not used yet
|
||||||
data Binder = Bind String BD Val
|
data Binder : Type where
|
||||||
|
Bind : (nm : String) -> (bd : BD) -> (val : Val) -> (ty : Val) -> Binder
|
||||||
|
|
||||||
|
export covering
|
||||||
|
Show Binder where
|
||||||
|
show (Bind nm bd val ty) = "(\{show bd} \{show nm} \{show val} : \{show ty})"
|
||||||
|
|
||||||
public export
|
public export
|
||||||
Env : Type
|
Env : Type
|
||||||
|
|||||||
Reference in New Issue
Block a user