Public Vars

Back

generic-helper-unary (clj)

(source)

function

(generic-helper-unary k args)
Clauses that accept only a single item can be implemented using this helper, as: (defn my-helper [& args] (generic-helper-unary :my-clause args)) Even though your helper is designed for clauses that accept only a single item, you should still define it as variadic, because that is the convention all helpers use here.

Examples