Split neutrals from canonical values so stuck eliminators arent encoded via constructor overloading
This commit is contained in:
@@ -11,7 +11,7 @@ structure Cxt where
|
||||
def Cxt.empty : Cxt := ⟨[], [], 0⟩
|
||||
|
||||
def Cxt.bind (cxt : Cxt) (x : Name) (a : Val) : Cxt :=
|
||||
{ env := .var cxt.lvl :: cxt.env
|
||||
{ env := .neu (.var cxt.lvl) :: cxt.env
|
||||
, types := (x, a) :: cxt.types
|
||||
, lvl := cxt.lvl + 1 }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user