aboutsummaryrefslogtreecommitdiff
path: root/interp/syntax_def.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-05-14 01:45:19 +0200
committerEmilio Jesus Gallego Arias2020-05-14 01:45:19 +0200
commit8b0d7a14c114f438ca663301e6d275094692869b (patch)
treec86f8f44942ab2114c800248df5851b47f447a12 /interp/syntax_def.mli
parent9c639d60715259bf73c1455089fb0c25dc597bdf (diff)
parente9692bedfe275668aeaa244811e090c49f6df64d (diff)
Merge PR #8808: Extending support for mixing binders and terms in abbreviations
Ack-by: Zimmi48 Reviewed-by: ejgallego Reviewed-by: mattam82
Diffstat (limited to 'interp/syntax_def.mli')
-rw-r--r--interp/syntax_def.mli8
1 files changed, 3 insertions, 5 deletions
diff --git a/interp/syntax_def.mli b/interp/syntax_def.mli
index 8b323462a1..66a3132f2a 100644
--- a/interp/syntax_def.mli
+++ b/interp/syntax_def.mli
@@ -13,12 +13,10 @@ open Notation_term
(** Syntactic definitions. *)
-type syndef_interpretation = (Id.t * subscopes) list * notation_constr
-
val declare_syntactic_definition : local:bool -> Deprecation.t option -> Id.t ->
- onlyparsing:bool -> syndef_interpretation -> unit
+ onlyparsing:bool -> interpretation -> unit
-val search_syntactic_definition : ?loc:Loc.t -> KerName.t -> syndef_interpretation
+val search_syntactic_definition : ?loc:Loc.t -> KerName.t -> interpretation
val search_filtered_syntactic_definition : ?loc:Loc.t ->
- (syndef_interpretation -> 'a option) -> KerName.t -> 'a option
+ (interpretation -> 'a option) -> KerName.t -> 'a option