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/reader/applicative.ex
alias Algae.Reader
import TypeClass
use Witchcraft
definst Witchcraft.Applicative, for: Algae.Reader do
@force_type_instance true
def of(_, value), do: Reader.new(fn _ -> value end)
end