mirror of
https://github.com/c-cube/iter.git
synced 2025-12-06 11:15:32 -05:00
Add docs about seeding random generator
This commit is contained in:
parent
f1d14dd030
commit
8322b2b201
2 changed files with 10 additions and 2 deletions
|
|
@ -705,7 +705,11 @@ module Map : sig
|
|||
module Make (V : Map.OrderedType) : S with type key = V.t
|
||||
end
|
||||
|
||||
(** {1 Random iterators} *)
|
||||
(** {1 Random iterators}
|
||||
|
||||
Random iterators use [Random.int], [Random.float], [Random.bool],
|
||||
etc., under the hood, so they will respect seeding of the random
|
||||
generator in the usual way. *)
|
||||
|
||||
val random_int : int -> int t
|
||||
(** Infinite iterator of random integers between 0 and
|
||||
|
|
|
|||
|
|
@ -674,7 +674,11 @@ module Map : sig
|
|||
module Make (V : Map.OrderedType) : S with type key = V.t
|
||||
end
|
||||
|
||||
(** {2 Random iterators} *)
|
||||
(** {2 Random iterators}
|
||||
|
||||
Random iterators use [Random.int], [Random.float], [Random.bool],
|
||||
etc., under the hood, so they will respect seeding of the random
|
||||
generator in the usual way. *)
|
||||
|
||||
val random_int : int -> int t
|
||||
(** Infinite iterator of random integers between 0 and
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue