elm package cache
Packages
Reroutes
About
lamdera.com
Fresheyeball
/
elm-tuple-extra
/
1.0.0
NOTE: this package is not compatible with Elm 0.19.1
README
About
Versions
Source
Modules
Tuple3
Getters
fst
:
( a, b, c ) -> a
snd
:
( a, b, c ) -> b
trd
:
( a, b, c ) -> c
tail
:
( a, b, c ) -> ( b, c )
init
:
( a, b, c ) -> ( a, b )
Maps
map
:
(c -> x) -> ( a, b, c ) -> ( a, b, x )
mapFst
:
(a -> x) -> ( a, b, c ) -> ( x, b, c )
mapSnd
:
(b -> x) -> ( a, b, c ) -> ( a, x, c )
mapTrd
:
(c -> x) -> ( a, b, c ) -> ( a, b, x )
mapEach
:
(a -> x) -> (b -> x_) -> (c -> x__) -> ( a, b, c ) -> ( x, x_, x__ )
mapAll
:
(a -> b) -> ( a, a, a ) -> ( b, b, b )
Swap
swirlr
:
( a, b, c ) -> ( b, c, a )
swirll
:
( a, b, c ) -> ( c, a, b )
Transform
toList
:
( a, a, a ) ->
List
a
README
About
6 versions
Source
Modules
Tuple
Tuple3