Skip to content

Rule: New entry point added instead of a changed arity

Canonical rule slug: new-entry-point-instead-of-parameter-added. ← back to all rules

A new capability that would have needed an extra parameter is delivered as an additional entry point, leaving the existing function's arity and every existing call site intact.

Canonical demonstration