haskell / random

Random number library
Other
53 stars 50 forks source link

Export helper functions `isInRangeOrd` and `isInRangeEnum` #148

Closed lehins closed 9 months ago

lehins commented 10 months ago

For those types that do not rely on Generics and define the UniformRange instance manually these two functions can be very helpful.