Copyright | © Frank Jung 2020 |
---|---|
License | GPL-3 |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Random
Description
Exploration of the use of Random
inspired by
Haskell Design Patterns by Ryan Lemmer
Example
Simulate roll a fair 6-sided dice n times.
With a seed
of 111111
then we expect [4,6,5,3,2]
.