Closed
Description
By default I define functions as
(defn func [arg]
body)
Adding an arity to such a function requires
- Wrapping the existing arglist and body in parens,
- Inserting a set of parens, and
- Defining a new arglist.
This is the most tedious refactoring I regularly do, and seems like a good candidate for a clj-refactor operation. I don't have any suggestions for how such an operation ought to work; any automated system ought to beat doing it manually.
Metadata
Metadata
Assignees
Labels
No labels