ClojureScript

Add :arglists to defmulti

Details

  • Type: Enhancement Enhancement
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Completed
  • Affects Version/s: 1.10.238
  • Fix Version/s: None
  • Component/s: None
  • Labels:
  • Patch:
    Code

Description

(doc defmulti) in ClojureScript doesn't show the arg list as in Clojure.

ClojureScript:

cljs.user=> (doc defmulti)
-------------------------
cljs.core/defmulti
([mm-name & options])
Macro
  Creates a new multimethod with the associated dispatch function.
  The docstring and attribute-map are optional.
...

Clojure:

user=> (doc defmulti)
-------------------------
clojure.core/defmulti
([name docstring? attr-map? dispatch-fn & options])
Macro
  Creates a new multimethod with the associated dispatch function.
  The docstring and attr-map are optional.
...

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: