I'm curious if it would be enough to write a macro that replaces defn in your code? The macro would secretly generate a different function for every arity, and therefore it could have a different doc-string for every arity, but it wouldn't have to appear that way in your code. Is that enough, or do you need something more fundamental? If so, can you say why?
Seems like you could almost certainly do this for defmulti? On Sunday, November 5, 2017 at 7:59:02 AM UTC-5, Tim wrote: > > I'm seeing a need to assign a doc string per arity case for defn and also > for each defmethod as opposed to storing it all in defmulti. Any solutions > or plans for this? > Tim -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.