From 4f43b5f3fa9a30c46760e57f53f68fcac360f96e Mon Sep 17 00:00:00 2001 From: Xavier Leroy Date: Tue, 24 Jun 2003 09:50:23 +0000 Subject: Rectif doc git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@5622 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02 --- stdlib/random.mli | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'stdlib') diff --git a/stdlib/random.mli b/stdlib/random.mli index 44d3b15c0..f1d7d5da0 100644 --- a/stdlib/random.mli +++ b/stdlib/random.mli @@ -15,7 +15,7 @@ (** Pseudo-random number generators (PRNG). *) -(** {6 basic functions} *) +(** {6 Basic functions} *) val init : int -> unit (** Initialize the generator, using the argument as a seed. @@ -58,10 +58,11 @@ val bool : unit -> bool (** [Random.bool ()] returns [true] or [false] with probability 0.5 each. *) -(** {6 advanced functions} *) +(** {6 Advanced functions} *) -(** These function manipulate the current state explicitely. - This allows you to use one or several deterministic PRNGs, +(** The functions from module [State] manipulate the current state + of the random generator explicitely. + This allows using one or several deterministic PRNGs, even in a multi-threaded program, without interference from other parts of the program. *) -- cgit v1.2.3-70-g09d2