ark v0.4.1 Ark
Ark is a collection of small utilities useful for prototyping, testing, and working with Elixir common patterns.
Each utility consists in an module that can be imported
through a single use
expression.
Import all Ark utilities at once:
use Ark
Import some of the Ark utilities:
use Ark, [:ok, :pipe_in]
Import utilities manually
As utilities are mere modules, you can always import each of them separately:
import Ark.Ok
import Ark.PipeIn
Utilities
Ark.Ok
Alias: :ok
This module provides function to work with ok/error tuples.
Ark.PipeIn
Alias: :pipe_in
This module provides a macro to set a variable from the end of a pipe.
Ark.Drip
This module cannot be imported with use Ark
This module implements a GenServer
and allows to throttle calls
to a common resource.