Fork me on GitHub
#cursive
<
2022-06-15
>
helios13:06:31

any idea how i can teach cursive the name of a defmethod as in https://clojuredocs.org/clojure.core/defmethod#example-542692c7c026201cdc3269cd ?

(defmethod foo "a" name-of-method [params] "was a")

imre13:06:56

There is a related discussion in the google groups https://groups.google.com/g/cursive/c/u7uhXSaai1A

imre13:06:05

I don't think it's supported currently

imre13:06:30

It appears there is a related issue as well https://github.com/cursive-ide/cursive/issues/899

imre13:06:43

give it an upvote 🙂

👌 1
serioga18:06:22

@helios you can define ordinary function and assign it to multimethod using addMethod