| 1 | (************************************************************************) |
| 2 | (* * The Rocq Prover / The Rocq Development Team *) |
| 3 | (* v * Copyright INRIA, CNRS and contributors *) |
| 4 | (* <O___,, * (see version control and CREDITS file for authors & dates) *) |
| 5 | (* \VV/ **************************************************************) |
| 6 | (* // * This file is distributed under the terms of the *) |
| 7 | (* * GNU Lesser General Public License Version 2.1 *) |
| 8 | (* * (see LICENSE file for the text of the license) *) |
| 9 | (************************************************************************) |
| 10 | |
| 11 | open Libnames |
| 12 | open Vernacexpr |
| 13 | |
| 14 | type number_string_via = qualid * (bool * qualid * qualid) list |
| 15 | |
| 16 | (** * Number notation *) |
| 17 | |
| 18 | type number_option = |
| 19 | | After of PrimNotations.numnot_option |
| 20 | | Via of number_string_via |
| 21 | |
| 22 | val vernac_number_notation : locality_flag -> |
| 23 | qualid -> |
| 24 | qualid -> qualid -> |
| 25 | number_option list -> |
| 26 | Notation_term.scope_name -> unit |
| 27 | |
| 28 | (** * String notation *) |
| 29 | |
| 30 | val vernac_string_notation : locality_flag -> |
| 31 | qualid -> |
| 32 | qualid -> qualid -> |
| 33 | number_string_via option -> |
| 34 | Notation_term.scope_name -> unit |