summaryrefslogtreecommitdiff
path: root/stdlib/stringLabels.mli
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>2004-07-13 12:25:21 +0000
committerXavier Leroy <xavier.leroy@inria.fr>2004-07-13 12:25:21 +0000
commit63c1789b5edb177db6f5c0ae351815c584562cab (patch)
tree7fede3c61f74a6a228cffb11499ae6b222b0b67d /stdlib/stringLabels.mli
parent237006931a8e0e1aa292b93c14a1ab60d4138d53 (diff)
downloadocaml-63c1789b5edb177db6f5c0ae351815c584562cab.tar.gz
Fusion des modifs faites sur la branche release jusqu'a la release 3.08.0
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@6553 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib/stringLabels.mli')
-rw-r--r--stdlib/stringLabels.mli8
1 files changed, 8 insertions, 0 deletions
diff --git a/stdlib/stringLabels.mli b/stdlib/stringLabels.mli
index b1f9577514..7ea72bafe7 100644
--- a/stdlib/stringLabels.mli
+++ b/stdlib/stringLabels.mli
@@ -142,6 +142,14 @@ val capitalize : string -> string
val uncapitalize : string -> string
(** Return a copy of the argument, with the first letter set to lowercase. *)
+type t = string
+(** An alias for the type of strings. *)
+
+val compare: t -> t -> int
+(** The comparison function for strings, with the same specification as
+ {!Pervasives.compare}. Along with the type [t], this function [compare]
+ allows the module [String] to be passed as argument to the functors
+ {!Set.Make} and {!Map.Make}. *)
(**/**)