| 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 Genarg |
| 12 | |
| 13 | (** {5 Substitution functions} *) |
| 14 | |
| 15 | type 'glb subst_fun = Mod_subst.substitution -> 'glb -> 'glb |
| 16 | (** The type of functions used for substituting generic arguments. *) |
| 17 | |
| 18 | val substitute : ('raw, 'glb, 'top) genarg_type -> 'glb subst_fun |
| 19 | |
| 20 | val generic_substitute : glob_generic_argument subst_fun |
| 21 | |
| 22 | val register_subst0 : ('raw, 'glb, 'top) genarg_type -> |
| 23 | 'glb subst_fun -> unit |