elm / random

Generate random values in Elm
https://package.elm-lang.org/packages/elm/random/latest/
BSD 3-Clause "New" or "Revised" License
46 stars 23 forks source link

Sanitize input to `float` to avoid invalid values #22

Open SiriusStarr opened 2 years ago

SiriusStarr commented 2 years ago

Fixes #21

minRange and maxRange are used in the let dec due to hi and lo (used in the Random.int sanitization step) already being in scope.