@@ -60,7 +60,7 @@ let rawstr s = quote (str (String.escaped s))
60
60
so instead of eg "Some 1" we have "ValBlk (0, [|ValInt 1|])"
61
61
62
62
All other names are user names. As such to access coq-core values we must qualify them,
63
- eg "Tac2ffi .mk_closure_val" etc
63
+ eg "Tac2val .mk_closure_val" etc
64
64
*)
65
65
66
66
let keywords =
@@ -223,7 +223,7 @@ let rec pp_arity n =
223
223
224
224
let pp_arity n =
225
225
assert (n > = 1 );
226
- str " Tac2ffi .(" ++ pp_arity n ++ str " )"
226
+ str " Tac2val .(" ++ pp_arity n ++ str " )"
227
227
228
228
let rec pp_binders = function
229
229
| [] -> mt()
@@ -732,7 +732,7 @@ let pp_when_clauses w =
732
732
733
733
let pp_mk_closure_val arity f =
734
734
surround
735
- (str " Tac2ffi .mk_closure_val" ++ spc() ++
735
+ (str " Tac2val .mk_closure_val" ++ spc() ++
736
736
pp_arity arity ++ spc() ++ f)
737
737
738
738
let pp_var x = function
@@ -777,7 +777,7 @@ let rec pp_nontac_expr = function
777
777
| Ctor (i , es ) -> str " (ValBlk (" ++ int i ++ str " , [|" ++ pp_val_list es ++ str " |]))"
778
778
| PrjV (e , i ) ->
779
779
surround
780
- (str " Tac2ffi .Valexpr.field" ++ spc() ++ pp_nontac_expr e ++ spc() ++ int i)
780
+ (str " Tac2val .Valexpr.field" ++ spc() ++ pp_nontac_expr e ++ spc() ++ int i)
781
781
| Opn (kn , es ) ->
782
782
surround
783
783
(str " Tac2ffi.of_open" ++ spc() ++
@@ -837,7 +837,7 @@ and pp_head_expr = function
837
837
begin match hinfo with
838
838
| None ->
839
839
surround
840
- (str " Tac2ffi .apply_val" ++ spc() ++ pp_nontac_expr h ++ spc() ++
840
+ (str " Tac2val .apply_val" ++ spc() ++ pp_nontac_expr h ++ spc() ++
841
841
surround (str " [" ++ pp_val_list args ++ str " ]" ))
842
842
| Some x ->
843
843
surround
@@ -920,10 +920,10 @@ and pp_head_expr = function
920
920
| PrjMut (e , i ) ->
921
921
str " PV.tclUNIT" ++ spc() ++
922
922
surround
923
- (str " Tac2ffi .Valexpr.field" ++ spc() ++ pp_nontac_expr e ++ spc() ++ int i)
923
+ (str " Tac2val .Valexpr.field" ++ spc() ++ pp_nontac_expr e ++ spc() ++ int i)
924
924
925
925
| Set (e1 ,i ,e2 ) ->
926
- h (str " let () = Tac2ffi .Valexpr.set_field" ++ spc() ++
926
+ h (str " let () = Tac2val .Valexpr.set_field" ++ spc() ++
927
927
pp_nontac_expr e1 ++ spc() ++ int i ++ spc() ++
928
928
pp_nontac_expr e2 ++ spc() ) ++
929
929
str " in" ++ spc() ++
@@ -969,7 +969,7 @@ let prelude prefix =
969
969
str " open Names" ++ fnl() ++
970
970
str " open Ltac2_plugin" ++ fnl() ++
971
971
str " open Ltac2_compiler" ++ fnl() ++
972
- str " open Tac2ffi " ++ fnl() ++
972
+ str " open Tac2val " ++ fnl() ++
973
973
str " module PV = Proofview" ++ fnl() ++
974
974
str " open PV.Notations" ++ fnl()
975
975
0 commit comments