NoRedInk/elm-random-extra/2.0.0

NOTE: this package is not compatible with Elm 0.19.1

Random.Function

List of Function Generators

Generators

func : Generator b -> Generator (a -> b)

Generates a random function of one argument given a generator for the output.

func2 : Generator c -> Generator (a -> b -> c)

Generates a random function of two arguments given a generator for the output.

func3 : Generator d -> Generator (a -> b -> c -> d)

Generates a random function of three arguments given a generator for the output.

func4 : Generator e -> Generator (a -> b -> c -> d -> e)

Generates a random function of four arguments given a generator for the output.

func5 : Generator f -> Generator (a -> b -> c -> d -> e -> f)

Generates a random function of five arguments given a generator for the output.

func6 : Generator g -> Generator (a -> b -> c -> d -> e -> f -> g)

Generates a random function of six arguments given a generator for the output.

Infix operators

(<<<) : Generator (b -> c) -> Generator (a -> b) -> Generator (a -> c)

Compose two function generators. Analogous to <<

(>>>) : Generator (a -> b) -> Generator (b -> c) -> Generator (a -> c)

Compose two function generators. Analogous to >>