sampling

Sample values from collections.

https://github.com/jtobin/sampling

Version on this page:0.2.0@rev:1
LTS Haskell 22.17:0.3.5
Stackage Nightly 2024-04-19:0.3.5
Latest on Hackage:0.3.5

See all snapshots sampling appears in

MIT licensed by Jared Tobin
Maintained by [email protected]
This version can be pinned in stack with:sampling-0.2.0@sha256:705929c9a629db8150478fd996315889fb8e5ab16dd584bc969727d6cc7e25b1,1586

Module documentation for 0.2.0

Used by 1 package in nightly-2016-04-12(full list with versions):

Basic sampling tools.

Exports variations on two simple functions for sampling from arbitrary Foldable collections:

  • sample, for sampling without replacement

  • resample, for sampling with replacement (i.e., a bootstrap)