Witchcraft v1.0.0 Witchcraft.Category.Proto protocol View Source

Protocol for the Elixir.Witchcraft.Category type class

For this type class’s API, please refer to Elixir.Witchcraft.Category

Link to this section Summary

Functions

Take some value and return it again

Link to this section Types

Link to this section Functions

Take some value and return it again

Examples

iex> classic_id = identity(fn -> nil end)
...> classic_id.(42)
42