diff options
author | Fabrice Le Fessant <Fabrice.Le_fessant@inria.fr> | 2012-01-26 10:24:35 +0000 |
---|---|---|
committer | Fabrice Le Fessant <Fabrice.Le_fessant@inria.fr> | 2012-01-26 10:24:35 +0000 |
commit | 1d8acd3f9298a2f6cf396fcd1526e525efec609d (patch) | |
tree | a7d07fef1a4fe270bbe7086abb8338e49686fc34 /stdlib | |
parent | ca77f037e31ce294a3c51a3f937ef8a15a20aa75 (diff) |
Fix PR#5493 by documentating
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@12079 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'stdlib')
-rw-r--r-- | stdlib/pervasives.mli | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdlib/pervasives.mli b/stdlib/pervasives.mli index 9da56a261..b76e3233b 100644 --- a/stdlib/pervasives.mli +++ b/stdlib/pervasives.mli @@ -461,7 +461,9 @@ external ignore : 'a -> unit = "%ignore" (** {6 String conversion functions} *) val string_of_bool : bool -> string -(** Return the string representation of a boolean. *) +(** Return the string representation of a boolean. As the returned values + may be shared, the user should not modify them directly. +*) val bool_of_string : string -> bool (** Convert the given string to a boolean. |