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/writer/applicative.ex
alias Algae.Writer
import TypeClass
use Witchcraft
definst Witchcraft.Applicative, for: Algae.Writer do
def of(%Writer{writer: {_, log}}, value), do: Writer.new(value, empty(log))
end