Back
add-pluralize-noun-rule (clj)
(source)function
(add-pluralize-noun-rule _rule-description cond? result-fn)
Adds a rule for pluralizing. The singular form of the noun is passed to the cond?
predicate and if that return a truthy value, the singular form is passed
to the result-fn to generate the plural form.
The rule description is for documentation only, it is ignored and may be nil.