A single-hierarchy dispatcher that behaves similarly to the way multimethod dispatch is done by vanilla Clojure multimethods, but with added support for auxiliary methods.
A single-hierarchy dispatcher that behaves similarly to the way multimethod dispatch is done by vanilla Clojure multimethods, but with added support for auxiliary methods.
(matching-aux-methods hierarchy prefs default-value method-table dispatch-value)
Return a map of aux method qualifier -> sequence of applicable methods for dispatch-value
, sorted from
most-specific to least-specific.
Return a map of aux method qualifier -> sequence of applicable methods for `dispatch-value`, sorted from most-specific to least-specific.
(matching-primary-methods hierarchy
prefs
default-value
method-table
dispatch-value)
Return a lazy sequence of applicable primary methods for dispatch-value
, sorted from most-specific to
least-specific. Replaces methods whose dispatch value is ambiguously specific with the next matching method with
ones that throw Exceptions when invoked.
Return a lazy sequence of applicable primary methods for `dispatch-value`, sorted from most-specific to least-specific. Replaces methods whose dispatch value is ambiguously specific with the next matching method with ones that throw Exceptions when invoked.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close