Provides standard combinators and such to use to compose new Rands.
- Companion:
- object
Value members
Concrete methods
The trivial random generator: always returns the argument
The trivial random generator: always returns the argument
Simply reevaluate the body every time get is called
Simply reevaluate the body every time get is called
Implements the Knuth shuffle of numbers from 0 to n.
Implements the Knuth shuffle of numbers from 0 to n.