Packages
doma_algae
1.3.1-doma
Bootstrapped algebraic data types for Elixir, forked by doma for maintenance and testing packagesets
Current section
Files
Jump to
Current section
Files
lib/algae/id/apply.ex
import TypeClass
use Witchcraft
definst Witchcraft.Apply, for: Algae.Id do
def convey(data, %{id: fun}), do: map(data, fun)
end