containers v0.7.1 API Reference
Modules
Containers are functional data structures that help provide greater runtime safety and polymorphism
Provide total function support for Integer
in the
Elixir standard library
Provide total function support to the List
function in the
standard Elixir library
Inspired by the Maybe type in other languages this container provides a way to wrap any value and safely transform the value. This should result in less runtime errors
This container is useful when you want to do chainable maps or sequences on the :ok
:error
tuple
pattern that Elixir uses for actions that could fail
This container wraps a string value. This is useful for when you want to append strings
together with not wanting to worry about nil
throwing runtime errors
Protocols
Protocol for appending things by exposing the append
function
Protocol for joining nested container structures by exposing the join
function
Protocol for implementing Mappable actios using the map
function
provides and_then
function to chain compuations together