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.
Some simple functions that work with Tuple
elm-package install Fresheyeball/elm-tuple-extra 3.0.0
Additional helpers for working with tuples.
For example:
foo (x, y) = (baz x, y)
becomes
foo = mapFirst baz
You'll need elm-test
installed. To get it
$ npm install -g elm-test
Then
$ elm-test
to run them.