Witchcraft.Monoid.Proto protocol (Witchcraft v1.0.4) View Source

Protocol for the Elixir.Witchcraft.Monoid type class

For this type class's API, please refer to Elixir.Witchcraft.Monoid

Link to this section Summary

Functions

An "emptied out" or "starting position" of the passed data.

Link to this section Types

Link to this section Functions

An "emptied out" or "starting position" of the passed data.

Example

iex> empty(10)
0

iex> empty [1, 2, 3, 4, 5]
[]