|
Caml
»
Ocaml Beginner
Random.set_state
View:
Threaded
Chronologically
All Messages
New views
1 Messages —
Rating Filter:
0
1
2
3
4
5
Alert me
Random.set_state
by Fresh1234
:: Rate this Message:
Reply to Author
|
View Threaded
|
Show Only this Message
I am totally new to OCAML.
How can I change the state of RNG using Random.set_state??
I want to use it to create a stateless RNG so I plan to do something like
Random.set_state
Random.int x
Random.get_state
within a function.
Free embeddable forum
powered by
Nabble
Forum Help