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/state/generator.ex
defimpl TypeClass.Property.Generator, for: Algae.State do
def generate(_) do
inner =
[0, 1.1, "", []]
|> Enum.random()
|> TypeClass.Property.Generator.generate()
Algae.State.new(fn x -> {inner, x} end)
end
end