Releases: camsaul/methodical
Releases · camsaul/methodical
0.12.3
0.12.3 is a bugfix and dependency bump release.
- Fix format string #83
- Defmethod should support no dispatch function #19
- Routine deps bump #87
defmulti
should not assert that:hierarchy
is a var #85trace
prints function arguments asnil
#86
Milestone: https://github.com/camsaul/methodical/milestone/7
0.12.2
0.12.1
0.12.0
-
Added new
trace
facility to instrument Methodical multimethods and print calls to primary/aux methods (and their results) (#15): -
Fixed bug where the method returned by
effective-primary-method
didn't have:dispatch-value
metadata (#61) -
Fixed by where
defmethod
macro did not generate valid function named for certain dispatch values that contained spaces periods (#60)
0.11.3
0.11.2
0.11.0
Methodical is no longer "alpha"
0.10.1-alpha
- Disabled AOT which caused compiled interfaces to be included in JAR, causing compilation failures in some situations. Fixes #33, #40. (Credit: @robhanlon22)
0.10.0-alpha
- Added new
multi-default-dispatcher
, which is the new default. Methodical multimethods with multi-arg dispatch values can now dispatch on partial defaults, e.g.
(m/defmethod my-method [:x :y]
[_]
:x-y)
(m/defmethod my-method [:default :y]
[_]
:default-y)
(m/defmethod my-method :default
[_]
:default)
(my-method [nil :y]) ; -> :default-y
See PR #35
0.9.6-alpha
defmethod
now works correctly for vars linked by Potemkin (e.g. withimport-vars
) (#32)