Packages
doma_algae
1.3.2-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/monoid.ex
import TypeClass
definst Witchcraft.Monoid, for: Algae.Id do
def empty(%{id: sample}), do: sample |> Witchcraft.Monoid.empty() |> Algae.Id.new()
end