diff options
| author | Pierre-Marie Pédrot | 2015-12-16 20:03:45 +0100 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2015-12-17 13:44:00 +0100 |
| commit | 597e5dd737dd235222798153b2342ae609519348 (patch) | |
| tree | 283c27ba7ce6be305affbc54a9e1c8813c3ece30 /interp | |
| parent | 7fa49442f30dceb7e403fb5dab660002dda7f6e9 (diff) | |
Getting rid of some hardwired generic arguments.
Diffstat (limited to 'interp')
| -rw-r--r-- | interp/constrarg.ml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/interp/constrarg.ml b/interp/constrarg.ml index a7241399e0..a67143b005 100644 --- a/interp/constrarg.ml +++ b/interp/constrarg.ml @@ -36,7 +36,7 @@ let wit_var = unsafe_of_type VarArgType let wit_ref = Genarg.make0 None "ref" -let wit_quant_hyp = unsafe_of_type QuantHypArgType +let wit_quant_hyp = Genarg.make0 None "quant_hyp" let wit_genarg = unsafe_of_type GenArgType @@ -51,14 +51,14 @@ let wit_uconstr = Genarg.make0 None "uconstr" let wit_open_constr = unsafe_of_type OpenConstrArgType -let wit_constr_with_bindings = unsafe_of_type ConstrWithBindingsArgType +let wit_constr_with_bindings = Genarg.make0 None "constr_with_bindings" -let wit_bindings = unsafe_of_type BindingsArgType +let wit_bindings = Genarg.make0 None "bindings" let wit_hyp_location_flag : 'a Genarg.uniform_genarg_type = Genarg.make0 None "hyp_location_flag" -let wit_red_expr = unsafe_of_type RedExprArgType +let wit_red_expr = Genarg.make0 None "redexpr" let wit_clause_dft_concl = Genarg.make0 None "clause_dft_concl" @@ -71,4 +71,8 @@ let () = register_name0 wit_tactic "Constrarg.wit_tactic"; register_name0 wit_sort "Constrarg.wit_sort"; register_name0 wit_uconstr "Constrarg.wit_uconstr"; + register_name0 wit_red_expr "Constrarg.wit_red_expr"; register_name0 wit_clause_dft_concl "Constrarg.wit_clause_dft_concl"; + register_name0 wit_quant_hyp "Constrarg.wit_quant_hyp"; + register_name0 wit_bindings "Constrarg.wit_bindings"; + register_name0 wit_constr_with_bindings "Constrarg.wit_constr_with_bindings"; |
