80. One prefix(a) spelling with L0513 (prefix_twin) (2026-11-21)
- Decision: Standardize on
prefix(a)as the single public spelling for static prefix sums acrossList<T>,[D]T, and[R, C]T. Keepprefix_n,prefix1, andprefix2instdlib/prefix.cpas the underlying monomorphic constructors dispatched byBUILT_ON, and add taste lintL0513(prefix_twin) withcpl lint --fixrewritingprefix_n(a)/prefix1(a)/prefix2(a)toprefix(a). - Reason: The prelude already dispatches
prefix(a)cleanly by argument type toPrefixN<T>,Prefix1<D, T>, andPrefix2<R, C, T>, so users never need to remember or import the dimension-suffixed helpers. Rewriting existing ports removesuse std.prefix.{prefix_n}boilerplate and unifies the family under one guessable name without adding core privilege. - Reverse: Remove
L0513(PREFIX_TWIN) fromcrates/cpl-lint.