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¶
- case200_new_entry_point_instead_of_parameter_added — New Entry Point Instead of a Changed Arity (🟢 COMPATIBLE)