Skip to content

Proposal: Sort arities from fewest to most #109

@arrdem

Description

@arrdem

so

(fn ([x] ...) ([x y] ...) ([x y z & more] ...))

Since the common case of multiple arity functions is that you have several partial application arities, one "full" arity and then a varargs case which is a foldr over the varargs. This is also in keeping with the style clojure.core uses for such functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions