| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
open Names |
| 12 |
open Notation_term |
| 13 |
open Glob_term |
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
val constr_lowest_level : Constrexpr.notation_entry_level |
| 19 |
|
| 20 |
|
| 21 |
val constr_some_level : Constrexpr.notation_entry_relative_level |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
val eq_notation_constr : Id.t list * Id.t list -> notation_constr -> notation_constr -> bool |
| 26 |
|
| 27 |
val strictly_finer_notation_constr : Id.t list * Id.t list -> notation_constr -> notation_constr -> bool |
| 28 |
|
| 29 |
|
| 30 |
|
| 31 |
|
| 32 |
val strictly_finer_interpretation_than : interpretation -> interpretation -> bool |
| 33 |
|
| 34 |
|
| 35 |
val finer_interpretation_than : _ interpretation_gen -> _ interpretation_gen -> bool |
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
val subst_interpretation : |
| 41 |
Mod_subst.substitution -> interpretation -> interpretation |
| 42 |
|
| 43 |
|
| 44 |
|
| 45 |
val ldots_var : Id.t |
| 46 |
|
| 47 |
|
| 48 |
|
| 49 |
|
| 50 |
|
| 51 |
|
| 52 |
val notation_constr_of_glob_constr : notation_interp_env -> |
| 53 |
glob_constr -> notation_constr * reversibility_status |
| 54 |
|
| 55 |
|
| 56 |
|
| 57 |
type 'a binder_status_fun = { |
| 58 |
no : 'a -> 'a; |
| 59 |
restart_prod : 'a -> 'a; |
| 60 |
restart_lambda : 'a -> 'a; |
| 61 |
switch_prod : 'a -> 'a; |
| 62 |
switch_lambda : 'a -> 'a; |
| 63 |
slide : 'a -> 'a; |
| 64 |
} |
| 65 |
|
| 66 |
val apply_cases_pattern : ?loc:Loc.t -> |
| 67 |
(Id.t list * cases_pattern_disjunction) * Id.t -> glob_constr -> glob_constr |
| 68 |
|
| 69 |
val glob_constr_of_notation_constr_with_binders : ?loc:Loc.t -> |
| 70 |
('a -> Name.t -> glob_constr option -> 'a * ((Id.t list * cases_pattern_disjunction) * Id.t) option * Name.t * Glob_term.binding_kind * glob_constr option) -> |
| 71 |
('a -> notation_constr -> glob_constr) -> ?h:'a binder_status_fun -> |
| 72 |
'a -> notation_constr -> glob_constr |
| 73 |
|
| 74 |
val glob_constr_of_notation_constr : ?loc:Loc.t -> notation_constr -> glob_constr |
| 75 |
|
| 76 |
val pr_notation_info : |
| 77 |
(Glob_term.glob_constr -> Pp.t) -> Constrexpr.notation_key -> Notation_term.notation_constr -> Pp.t |
| 78 |
|
| 79 |
|
| 80 |
|
| 81 |
|
| 82 |
|
| 83 |
|
| 84 |
exception No_match |
| 85 |
|
| 86 |
val match_notation_constr : print_parentheses:bool -> |
| 87 |
factorize_eqns:PrintingFlags.Extern.FactorizeEqns.t -> |
| 88 |
'a glob_constr_g -> vars:Id.Set.t -> interpretation -> |
| 89 |
((Id.Set.t * 'a glob_constr_g) * extended_subscopes) list * |
| 90 |
((Id.Set.t * 'a glob_constr_g list) * extended_subscopes) list * |
| 91 |
((Id.Set.t * 'a cases_pattern_disjunction_g) * extended_subscopes) list * |
| 92 |
((Id.Set.t * 'a extended_glob_local_binder_g list) * extended_subscopes) list |
| 93 |
|
| 94 |
val match_notation_constr_cases_pattern : |
| 95 |
'a cases_pattern_g -> interpretation -> |
| 96 |
(('a cases_pattern_g * extended_subscopes) list * |
| 97 |
('a cases_pattern_g list * extended_subscopes) list * |
| 98 |
('a cases_pattern_g * extended_subscopes) list) * |
| 99 |
(bool * int * 'a cases_pattern_g list) |
| 100 |
|
| 101 |
val match_notation_constr_ind_pattern : |
| 102 |
inductive -> 'a cases_pattern_g list -> interpretation -> |
| 103 |
(('a cases_pattern_g * extended_subscopes) list * |
| 104 |
('a cases_pattern_g list * extended_subscopes) list * |
| 105 |
('a cases_pattern_g * extended_subscopes) list) * |
| 106 |
(bool * int * 'a cases_pattern_g list) |