diff options
| author | filliatr | 1999-08-16 13:17:30 +0000 |
|---|---|---|
| committer | filliatr | 1999-08-16 13:17:30 +0000 |
| commit | b4a932fad873357ebe50bf571858e9fca842b9e5 (patch) | |
| tree | 830568b3009763e6d9fac0430e258c0d323eefcf /lib/util.mli | |
| parent | 9380f25b735834a3c9017eeeb0f8795cc474325b (diff) | |
Initial revision
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'lib/util.mli')
| -rw-r--r-- | lib/util.mli | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/util.mli b/lib/util.mli new file mode 100644 index 0000000000..25b419be83 --- /dev/null +++ b/lib/util.mli @@ -0,0 +1,25 @@ + +(* $Id$ *) + +open Pp + +(* Strings *) + +val explode : string -> string list +val implode : string list -> string + +val parse_section_path : string -> string list * string * string + +(* Pretty-printing *) + +val pr_spc : unit -> std_ppcmds +val pr_fnl : unit -> std_ppcmds +val pr_int : int -> std_ppcmds +val pr_str : string -> std_ppcmds +val pr_coma : unit -> std_ppcmds + +val prlist : ('a -> 'b Stream.t) -> 'a list -> 'b Stream.t +val prlist_with_sep : + (unit -> 'a Stream.t) -> ('b -> 'a Stream.t) -> 'b list -> 'a Stream.t +val prvect_with_sep : + (unit -> 'a Stream.t) -> ('b -> 'a Stream.t) -> 'b array -> 'a Stream.t |
