Random
Namespace: NovelFS.NovelIO
Purely functional random number functions
Functions and values
Function or value | Description |
nextBytesIO length
Signature: length:int -> IO<byte []>
|
An IO action that returns the next byte array of the supplied length from the global random number generator
|
nextFloatIO
Signature: IO<float>
|
An IO action that returns the next float from the global random number generator
|
nextIO
Signature: IO<int>
|
An IO action that returns the next int from the global random number generator
|
nextRangeIO (min, max)
Signature: (min:int * max:int) -> IO<int>
|
An IO action that returns the next int in the specified range from the global random number generator
|