Skip to content

Support keyword arguments in s/defn #452

Description

@frenchy64
(s/defn foo [& {:keys [bar]}])
Bad & binding form: currently only bare symbols and vectors supported

Note that clojure.core/defn was recently enhanced to be able to provide a map in this case.

(defn bar [& {:keys [bar]}])
(bar {:bar true})

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions