TypeClass v1.0.0-alpha7 TypeClass.Dependency
Helpers for setting type class dependencies
Summary
Macros
Set a type class dependency.
ie: another type class that need to be definst
ed before this one
The opposite of set_up/1
: collect dependencies
Set up the dependency collection from extend
Types
Macros
Set a type class dependency.
ie: another type class that need to be definst
ed before this one.
Examples
defmodule Quux do
extend Foo
extend Bar
extend Baz
# ...
end
The opposite of set_up/1
: collect dependencies
Set up the dependency collection from extend