TypeClass v1.2.0 TypeClass.Dependency View Source
Helpers for setting type class dependencies
Link to this section Summary
Functions
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
Link to this section Types
Link to this section Functions
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