Lonely
Helpers to pipe through Results ({:ok, a} | {:error, e}) or Options
(a | nil).
Thanks to Railway Oriented Programming in Elixir for the inspiration.
You might want to check some alternatives too.
Installation
def deps do
[{:lonely, "~> 0.2.0"}]
end