Elixir programmers are almost certainly familiar with the Enum
package; it provides some incredibly
useful functions that allow you to manipulate enumerables and they're a match made in heaven for
the pipe operator. Value
is the equivalent package for singular values. It provides functions for
manipulating and transforming single values so that you can continue your beautiful function pipeline
without interruption.
If available in Hex, the package can be installed
by adding value
to your list of dependencies in mix.exs
:
def deps do
[
{:value, "~> 0.1.0"}
]
end
Documentation can be generated with ExDoc and published on HexDocs. Once published, the docs can be found at https://hexdocs.pm/value.