]> matita.cs.unibo.it Git - helm.git/blobdiff - matita/matita/matitaMisc.mli
Use of standard OCaml syntax
[helm.git] / matita / matita / matitaMisc.mli
index b3bd617b2d69c04ec13e5cf3c72a8f144856ca7c..07a327cc90a2cf0c3c44eb81aedc054f70eb7240 100644 (file)
@@ -35,7 +35,8 @@ val is_proof_object: string -> bool
   * it *)
 val append_phrase_sep: string -> string
 
-val normalize_dir: string -> string (** add trailing "/" if missing *)
+  (** add trailing "/" if missing *)
+val normalize_dir: string -> string
 val strip_suffix: suffix:string -> string -> string
 
   (** @return tl tail of a list starting at a given element
@@ -50,8 +51,12 @@ type 'a memento
 class type ['a] history =
   object ('b)
     method add : 'a -> unit
-    method next : 'a        (** @raise History_failure *)
-    method previous : 'a    (** @raise History_failure *)
+
+     (** @raise History_failure *)
+    method next : 'a
+
+     (** @raise History_failure *)
+    method previous : 'a
     method load: 'a memento -> unit
     method save: 'a memento
     method is_begin: bool 
@@ -74,9 +79,6 @@ val singleton: (unit -> 'a) -> (unit -> 'a)
   (** given the base name of an image, returns its full path *)
 val image_path: string -> string
 
-  (** 2>/dev/null, HLog = (fun _ -> ()) *)
-val shutup: unit -> unit
-
   (** outputs the preamble of a generated .ma file *)
 val out_preamble: out_channel -> unit