Liking cljdoc? Tell your friends :D

methodical.impl.multifn.standard

Standard Methodical MultiFn impl, which

Standard Methodical MultiFn impl, which 
raw docstring

composite-effective-dispatch-valueclj

(composite-effective-dispatch-value dispatcher dispatch-values)

Combine multiple composite dispatch values into a single composite dispatch value that has the overall most-specific arg for each position, e.g.

;; String is more specific than Object; ::parrot is more specific than ::bird (composite-effective-dispatch-value [[Object ::parrot] [String ::bird]]) ; -> [String ::parrot]

If the most-specific dispatch value is not composite, it returns it directly.

Combine multiple composite dispatch values into a single composite dispatch value that has the overall most-specific
arg for each position, e.g.

  ;; String is more specific than Object; ::parrot is more specific than ::bird
  (composite-effective-dispatch-value [[Object ::parrot] [String ::bird]]) ; -> [String ::parrot]

If the most-specific dispatch value is not composite, it returns it directly.
sourceraw docstring

effective-dispatch-valueclj

(effective-dispatch-value dispatcher primary-methods aux-methods)

Given matching primary-methods and aux-methods for dispatch-value, determine the effective dispatch value.

Given matching `primary-methods` and `aux-methods` for `dispatch-value`, determine the effective dispatch value.
sourceraw docstring

sort-dispatch-valuesclj

(sort-dispatch-values dispatcher dispatch-values)

Sort dispatch values in order from most-specific-overall to least-specific-overall.

Sort dispatch values in order from most-specific-overall to least-specific-overall.
sourceraw docstring

standard-effective-methodclj

(standard-effective-method method-combination
                           dispatcher
                           method-table
                           dispatch-value)

Build an effective method using the 'standard' technique, taking the dispatch-value-method pairs in the method-table, finiding applicable ones using dispatcher, and combining them using method-combination.

Build an effective method using the 'standard' technique, taking the dispatch-value-method pairs in the
`method-table`, finiding applicable ones using `dispatcher`, and combining them using `method-combination`.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close