FsRandom
FsRandom copied to clipboard
A purely-functional random number generator framework designed for F#
Utility.createRandomState makes 128-bit random seed using GUID. GUID generated by `Guid.NewGuid()` contains fixed bits (version info) and does not have fully 128-bit randomness.
see https://github.com/fsprojects/FsProjectsAdmin/issues/17
Using `ReflectedDefinition` attribute and traversing generator functions. ``` fsharp [] let generator = random { // random process } // optimize : Expr let optimizedGenerator = optimize ```
Computation expressions like `draw ``[0, 1)`` into x`?