protocol_ex v0.3.8 ProtocolEx
Matcher protocol control module
Link to this section Summary
Functions
Resolve a protocol into a final ready-to-use-module based on already-compiled names sorted by priority
Implement a protocol based on a matcher specification
Define a protocol behaviour
Resolve a protocol into a final ready-to-use-module based on implementation names
Link to this section Functions
Link to this function
clean_spec(spec)
Link to this function
consolidate(proto_name, opts \\ [])
Resolve a protocol into a final ready-to-use-module based on already-compiled names sorted by priority
Link to this function
consolidate_all(opts \\ [])
Implement a protocol based on a matcher specification
Define a protocol behaviour.
Link to this function
load_tests_from_impls(callbacks)
Resolve a protocol into a final ready-to-use-module based on implementation names
If priority_sorted is true then it sorts based on the impl priority, else it uses the defined order