diff options
| author | Emilio Jesus Gallego Arias | 2019-10-24 04:22:57 +0200 |
|---|---|---|
| committer | Emilio Jesus Gallego Arias | 2019-10-30 15:48:22 +0100 |
| commit | 0f76f36eaeda546c4a4b513eb11286fe1209e266 (patch) | |
| tree | 5ad08069778c9a97cbb3d4a180532803bbf226ca /tactics/declareScheme.mli | |
| parent | 28ea499486dd17076d8f2f4c31d7fdebeacdff8e (diff) | |
[declare] Remove declare_scheme hook in Declare
We introduce a new module that registers the scheme information that
side-effects need, thus removing the hook from `Declare`.
As we may want to deprecate scheme side effects, there is no need to
design a general mechanism for this kind of registration for now.
Would we remove the scheme side-effects the scheme code could become
self-contained again.
Diffstat (limited to 'tactics/declareScheme.mli')
| -rw-r--r-- | tactics/declareScheme.mli | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/tactics/declareScheme.mli b/tactics/declareScheme.mli new file mode 100644 index 0000000000..f2ae5e41c8 --- /dev/null +++ b/tactics/declareScheme.mli @@ -0,0 +1,12 @@ +(************************************************************************) +(* * The Coq Proof Assistant / The Coq Development Team *) +(* v * INRIA, CNRS and contributors - Copyright 1999-2019 *) +(* <O___,, * (see CREDITS file for the list of authors) *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(* * (see LICENSE file for the text of the license) *) +(************************************************************************) + +val declare_scheme : string -> (Names.inductive * Names.Constant.t) array -> unit +val lookup_scheme : string -> Names.inductive -> Names.Constant.t |
