Ceylon Random provides:
- a pseudorandom number generator ([[DefaultRandom]]),
- toplevel utility functions to shuffle streams or arrays ([[randomize]]
and [[randomizeInPlace]]), and
- an easy to implement interface for use by third party random number generators
([[Random]]).
To generate random numbers, create and use an instance of [[DefaultRandom]]:
// Create a random number generator
value random = DefaultRandom();
// Print a pseudorandom Float in the range 0.0 to ...
