diff options
author | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2017-08-24 21:14:43 +0200 |
---|---|---|
committer | Hugo Herbelin <Hugo.Herbelin@inria.fr> | 2018-02-20 10:03:07 +0100 |
commit | b176959335a8cc097c254ea10b910e8ecbcde54b (patch) | |
tree | 3f4e97333b49df88a3be64ed61f4b30876dbe8f5 /interp/notation.mli | |
parent | 5b2f29e461d7dfb1336117050cc8c5d510025bf1 (diff) |
More flexibility in locating or referring to a notation.
We generalize the possibility to refer to a notation not only by its
"_ U _" form but also using its "a 'U' b".
(Wish from EJGA)
Diffstat (limited to 'interp/notation.mli')
-rw-r--r-- | interp/notation.mli | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/interp/notation.mli b/interp/notation.mli index d10012212..a4c79d6d3 100644 --- a/interp/notation.mli +++ b/interp/notation.mli @@ -183,9 +183,13 @@ type symbol = val symbol_eq : symbol -> symbol -> bool +(** Make/decompose a notation of the form "_ U _" *) val make_notation_key : symbol list -> notation val decompose_notation_key : notation -> symbol list +(** Decompose a notation of the form "a 'U' b" *) +val decompose_raw_notation : string -> symbol list + (** Prints scopes (expects a pure aconstr printer) *) val pr_scope_class : scope_class -> Pp.t val pr_scope : (glob_constr -> Pp.t) -> scope_name -> Pp.t |