eskimoblood / elm-random-sample

Randomized functions on the Array data structure in Elm.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Random.Array

by Max Goldstein

Randomized functions on the Array data structure in Elm 0.16. Previously published as Elm-Random-Sampling for 0.15.

The implementations seem robust but should not be trusted when cryptographic randomness is required. Tests of the shuffle algorithm are available in test/grid.elm and test/reference.html.

Please submit issues and bugs through GitHub. Particularly welcome are performance optimizations and (dis)proofs of statistical randomness.

About

Randomized functions on the Array data structure in Elm.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:JavaScript 96.7%Language:Elm 3.1%Language:HTML 0.2%