danielnarey/elm-toolkit/6.0.0

NOTE: this package is not compatible with Elm 0.19.1

Toolkit.Tuple3

first : ( a, b, c ) -> a

Return the first value of a 3-tuple

second : ( a, b, c ) -> b

Return the second value of a 3-tuple

third : ( a, b, c ) -> c

Return the third value of a 3-tuple

map : (a -> b) -> ( a, a, a ) -> ( b, b, b )

Apply a function to all 3 values in a 3-tuple and return the results as a 3-tuple