about summary refs log tree commit diff
path: root/lib/Eval.ml
diff options
context:
space:
mode:
authorMalte Voos <git@mal.tc>2024-02-20 12:48:36 +0100
committerMalte Voos <git@mal.tc>2024-02-20 12:48:36 +0100
commit5252fe93e5e7ef77888c06c97de4e350dce90448 (patch)
treeda057c49ece07e6fd80ec55ad59fbf337162063a /lib/Eval.ml
parent407a2a4a0a440c41adc19fbe8b67283b7b7c65ab (diff)
downloadtoytt-5252fe93e5e7ef77888c06c97de4e350dce90448.tar.gz
toytt-5252fe93e5e7ef77888c06c97de4e350dce90448.zip
nbe: quotation
Diffstat (limited to 'lib/Eval.ml')
-rw-r--r--lib/Eval.ml3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/Eval.ml b/lib/Eval.ml
index 29ede14..8f6722b 100644
--- a/lib/Eval.ml
+++ b/lib/Eval.ml
@@ -36,7 +36,7 @@ struct
     | _ -> invalid_arg "Eval.bool_elim"
 
   and eval = function
-    | S.Var i -> BwdLabels.nth (Eff.read()) i
+    | S.Var i -> Bwd.nth (Eff.read()) i
     | S.Pi (base, fam) -> D.Pi (eval base, make_clos fam)
     | S.Lam body -> D.Lam (make_clos body)
     | S.App (a, b) -> app (eval a) (eval b)
@@ -53,3 +53,4 @@ struct
 end
 
 let eval ~env tm = Internal.Eff.run ~env (fun () -> Internal.eval tm)
+let inst_clos = Internal.inst_clos