-
References:
- http://files.slatelanguage.org/doc/pmd/ecoop.pdf
- https://www.squaremobius.net/2013/02/18/multiple-dispatch-in-js.html
- https://en.wikipedia.org/wiki/Multiple_dispatch
`Pattern…
-
This is a big one. I aim to support generic multiple dispatch method resolution, a la CLOS. That is, I aim to allow you to define generic methods
(defgeneric method-name (a b))
(defmethod…
-
Is it possible to instrument multimethods? I couldn't find any reference to them in the documentation so I assume it's not possible, but just wanted to verify.
-
We might want to consider using this https://pypi.org/project/multimethod/ to make the CQ code more readable.
-
# Feature Issue
### Description
[comment]: # (Please replace ... with your information. Remove < and >)
Coming out from this [comment](https://github.com/status-im/status-mobile/pull/20755#disc…
-
Hey!
I wonder if you have any exposure to metosin/malli, over spec?
Malli enables multi-schemas, that act on dispatch - they describe just as multimethods do.
My inquiry, that found you, is h…
-
I get partial coverage (yellow lines) on defmethods doing destructuring.
Example:
``` clojure
(ns cloverage-defmulti.core)
(defn f1 [] "f1")
(defn f2 [] "f2")
(defn f3 [] "f3")
(defmulti dispatch …
rboyd updated
11 years ago
-
Currently `defmulti` and `defmethod` work. They also support hierarchies. As a demonstration of what works, see these:
## Factorial
```clojure
(defmulti factorial identity)
(defmethod factoria…
-
Hi @weavejester!
Cljdoc uses ragtime and ragtime-clj.
The [ragtime-clj project makes use of ragtime.jdbc/load-files](https://github.com/mariusz-jachimowicz-83/ragtime-clj/blob/02cedfd21fa189fa4d…
-
To upvote this issue, give it a thumbs up. See [this list](https://github.com/clj-kondo/clj-kondo/issues?q=is%3Aissue+is%3Aopen+sort%3Areactions-%2B1-desc) for the most upvoted issues.
- [x] I have…