Sample values from collections.
|LTS Haskell 20.16:||0.3.5|
|Stackage Nightly 2023-03-31:||0.3.5|
|Latest on Hackage:||0.3.5|
Maintained by email@example.com
This version can be pinned in stack with:
Module documentation for 0.3.5
Depends on 6 packages(full list with versions):
Basic sampling tools.
Exports variations on two simple functions for sampling from arbitrary
sample, for sampling without replacement
resample, for sampling with replacement (i.e., a bootstrap)
Each variation can be prefixed with
p to sample from a container of values
weighted by probability.