gribouille / elm-prelude / Prelude

Extra standard functions.

const : a -> b -> a

Unary function which evaluates to x for all inputs.

uncurry3 : (a -> b -> c -> d) -> ( a, b, c ) -> d

Converts a curried function with 3 parameters to a function on pairs.

curry3 : (( a, b, c ) -> d) -> a -> b -> c -> d

Converts an uncurried function with 3 parameters to a curried function.

iff : Basics.Bool -> a -> a -> a

Short if statement.