View Source Witchcraft.Monoid.Proto protocol (Witchcraft v1.0.6-doma)
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
@type t() :: term()
Link to this section Functions
An "emptied out" or "starting position" of the passed data.
example
Example
iex> empty(10)
0
iex> empty [1, 2, 3, 4, 5]
[]