diff options
| author | Xavier Leroy <xavier.leroy@inria.fr> | 2004-07-13 12:25:21 +0000 |
|---|---|---|
| committer | Xavier Leroy <xavier.leroy@inria.fr> | 2004-07-13 12:25:21 +0000 |
| commit | 63c1789b5edb177db6f5c0ae351815c584562cab (patch) | |
| tree | 7fede3c61f74a6a228cffb11499ae6b222b0b67d /stdlib/stringLabels.mli | |
| parent | 237006931a8e0e1aa292b93c14a1ab60d4138d53 (diff) | |
| download | ocaml-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.mli | 8 |
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}. *) (**/**) |
