elm-community / random-extra / Random.Int

Extra randomized functions on ints.

Generators

anyInt : Random.Generator Basics.Int

A generator that generates any int that can be generated by the random generator algorithm.

positiveInt : Random.Generator Basics.Int

A generator that generates a positive int

negativeInt : Random.Generator Basics.Int

A generator that generates a negative int

intGreaterThan : Basics.Int -> Random.Generator Basics.Int

A generator that generates an int greater than a given int

intLessThan : Basics.Int -> Random.Generator Basics.Int

A generator that generates an int less than a given int