Witchcraft.Category.Proto protocol (Witchcraft v1.0.4) 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

Specs

Take some value and return it again.

Examples

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