danielnarey/elm-toolkit/6.1.0

NOTE: this package is not compatible with Elm 0.19.1

Toolkit.Tuple4

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

Return the first value of a 4-tuple

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

Return the second value of a 4-tuple

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

Return the third value of a 4-tuple

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

Return the fourth value of a 4-tuple

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

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