camsaul / methodical

Functional and flexible multimethods for Clojure. Nondestructive multimethod construction, CLOS-style aux methods and method combinations, partial-default dispatch, easy next-method invocation, helpful debugging tools, and more.
Eclipse Public License 2.0
294 stars 19 forks source link

Add `fdef` specs for all the macros #110

Closed camsaul closed 2 years ago

camsaul commented 2 years ago

Clojure will actually validate args to macros at macroexpansion time based on these specs; they're also added to the macro documentation. We should add them since they are a good way to validate that the args match the shape we expect.

camsaul commented 2 years ago

This would also solve #36.