TypeClass.Dependency (TypeClass v1.2.8) 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
Specs
ast() :: tuple()
Link to this section Functions
Specs
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
Specs
run() :: ast()
The opposite of set_up/1
: collect dependencies
Specs
set_up() :: ast()
Set up the dependency collection from extend