diff options
author | Maxime Dénès <mail@maximedenes.fr> | 2015-09-20 00:08:35 +0200 |
---|---|---|
committer | Maxime Dénès <mail@maximedenes.fr> | 2015-09-20 00:11:13 +0200 |
commit | 8bba34395e520ac606fc3efd0a875699fe968e69 (patch) | |
tree | 4e835c6a12b8a3d8790946843d094d91a6f778fb /kernel/names.mli | |
parent | 48c78b719392276b2e87be5ea368c71c01f14c85 (diff) |
Better debug printers for module paths.
Now distinguishes between bound modules (Top#X) and submodules (Top.X).
Could be useful for the regular printer as well (e.g. in error messages), but I
don't know what the compatibility constraints are, so leaving it as it is for
now.
Diffstat (limited to 'kernel/names.mli')
-rw-r--r-- | kernel/names.mli | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/kernel/names.mli b/kernel/names.mli index 7cc444375..77139f1c3 100644 --- a/kernel/names.mli +++ b/kernel/names.mli @@ -217,6 +217,9 @@ sig val to_string : t -> string + val debug_to_string : t -> string + (** Same as [to_string], but outputs information related to debug. *) + val initial : t (** Name of the toplevel structure ([= MPfile initial_dir]) *) @@ -244,6 +247,10 @@ sig (** Display *) val to_string : t -> string + + val debug_to_string : t -> string + (** Same as [to_string], but outputs information related to debug. *) + val print : t -> Pp.std_ppcmds (** Comparisons *) |