diff options
| author | Pierre-Marie Pédrot | 2017-10-03 18:58:38 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2017-10-03 19:19:40 +0200 |
| commit | 347d94a4b966d0cc4a3a04814b0c76c4b05caa11 (patch) | |
| tree | 691023e263fabdc15c02bb2e753c90a9e332ada6 /API/API.mli | |
| parent | 811ed22e8dcb12d8c88e2c320bbc2221bdff30ab (diff) | |
Ltac uses the new generic locatable API.
Diffstat (limited to 'API/API.mli')
| -rw-r--r-- | API/API.mli | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/API/API.mli b/API/API.mli index e2cb70583d..3bd047043a 100644 --- a/API/API.mli +++ b/API/API.mli @@ -5005,6 +5005,21 @@ sig val pr_transparent_state : Names.transparent_state -> Pp.t end +module Prettyp : +sig + type 'a locatable_info = { + locate : Libnames.qualid -> 'a option; + locate_all : Libnames.qualid -> 'a list; + shortest_qualid : 'a -> Libnames.qualid; + name : 'a -> Pp.t; + print : 'a -> Pp.t; + about : 'a -> Pp.t; + } + + val register_locatable : string -> 'a locatable_info -> unit + val print_located_other : string -> Libnames.reference -> Pp.t +end + (************************************************************************) (* End of modules from printing/ *) (************************************************************************) |
