Fresheyeball/elm-tuple-extra

Some simple functions that work with Tuple


License
MIT
Install
elm-package install Fresheyeball/elm-tuple-extra 3.0.0

Documentation

Tuple Extra

Additional helpers for working with tuples.

For example:

foo (x, y) = (baz x, y)

becomes

foo = mapFirst baz

Tests

You'll need elm-test installed. To get it

$ npm install -g elm-test

Then

$ elm-test

to run them.