Design decisions
The 400 design calls behind CP Lang, generated from decisions.md: what was decided, why, what was rejected and how to reverse it. Docs and Language chapters cite them by number. The rules themselves are in the spec; where a decision and the spec disagree, the spec wins.
- 1Data modeling
- 2Index spaces
- 3Abstraction mechanisms
- 4Control and iteration
- 5State and effects
- 6Program structure
- 7Cross-cutting
- 8Approved on 2026-11-19
- 9Approved on 2026-11-20
- 10Calls made while writing the standard library (2026-11-20)
- 11Leaning since 2026-11-20: the ergonomics audit
- 12Calls made while hillclimbing hard DP, graph and tree problems (2026-11-20)
- 13Leaning since 2026-11-20: scout batch 1
- 14Calls made bringing the Rust front end up to the libraries (2026-11-20)
- 15Calls made fixing the prototype bugs of scout batches 5 to 12 (2026-11-20)
- 16CP Lang v2 Spec Lock (2026-11-20 — Language Architect Wave 2)
- 17Stdlib and local-lib aligned with the v2 lock
- 18CP Lang v2.1 Unification & Concept-Budget Guard (2026-11-20 — Language Architect Wave 3)
- 19Locked CP Lang v2.2 Architecture (Wave 4 — Ultra-Lean 34-Keyword Spec, 2026-11-20)
- 20Program structure: the
@!multitestdivider and top-levelreturn(0.2.2, approved 2026-11-20) - 21Batch 7 calls: graph vertices, getters, randomness, the prelude budget and always-on traps (0.2.2, 2026-11-20)
- 22Core syntax to 0.3 (2026-11-21)
- 23Validation scoreboard and friction summary (
scripts/scoreboard.py, 2026-11-21) - 24Documentation gate in
scripts/check.sh --fast(2026-11-21) - 25Stress testing and shrinking (0.2.2, 2026-11-21)
- 26The stdlib surface (
plan/STDLIB.md, 2026-11-21) - 27Interpreter, debugger and traces
- 27.4Time-travel DAP debugger (
cpl dap) backed by interpreter snapshots - 28Core mechanisms for a library-only stdlib (0.3, §1)
- 29Editor and LSP (2026-11-21)
- 30Front-end recovery (2026-11-21)
- 31Generated C++: stack, layout and niches (0.3)
- 32Profiling and coverage (§8 tooling, 2026-11-21)
- 33Fresh domains and existential returns (2026-11-21)
- 34Judge profiles (§9, 0.2.2, 2026-11-21)
- 35Taste lints (§8 tooling, 2026-11-21)
- 36Symmetric storage, derived domains, and domain iteration helpers (0.3, 2026-11-21)
- 37Taste review gate (2026-11-21)
- 38Geometry standard library (
spec/lib/geometry.md, 2026-11-21) - 39Strings stdlib (
std.strings, 2026-11-21) - 40Number theory, combinatorics, NTT, and linear algebra (
spec/lib/math.md, 2026-11-21) - 41
std.seqcomplete surface (spec/lib/rationale/seq.md, 2026-11-21) - 42Range structures stdlib (
spec/lib/rationale/ranges.md, §4.10, 2026-11-21) - 43Flows and matching (
std.flow, 2026-11-21) - 44Containers area design (§4.8–4.9, 2026-11-21)
- 45Trees (
std.tree, spec/lib/rationale/trees.md, 2026-11-21) - 46Graphs stdlib design (
spec/lib/rationale/graphs.md, 2026-11-21) - 47DP and search in the stdlib (
spec/lib/rationale/dp.md, 2026-11-21) - 48Dream-port core syntax batch (2026-11-21)
- 49
Intstops one above-2^63(codegen and performance, 2026-11-21) - 50MonoDeque single constructor and Bitset.subset_sums (2026-11-21)
- 51
SeqandIndexedtrait unification (2026-11-21) - 52Static closure & operation-value lowering (2026-11-21)
- 53Folds and sorts of a sequence are methods (2026-11-21)
- 54The offline bundle cap moves to 2,800,000 bytes (2026-11-21)
- 55
Comb<M>keyed onMod<P>type (2026-11-21) - 56
monge_pathreturns two lists (2026-11-21) - 57
Fenwick.first_gereplacesFenwick.lower_bound(2026-11-21) - 58One owner for syntax; destructured domains are type names (2026-11-21)
- 59Heterogeneous operator traits (
Add/Sub/Mul/Div/RemwithRhsandOut) (2026-11-21) - 60Sequence
by:options replace_bytwins;.itemsis the oneenumerate(2026-11-21) - 61O(1) slice and reverse views (2026-11-21)
- 62Containers Batch 2 and wave-12A perf lowerings (2026-11-21)
- 63One name per tree traversal:
t.Pre(2026-11-21) - 64
site/test_site.pyjoins the fast gate (2026-11-21) - 65
aliensis generic over the slope type (2026-11-21) - 66Dream domain constructs: subsets, enum arrays, sequence ops, and Item/Cut ranges (0.3, 2026-11-21)
- 67
IntervalMap.assignzero-allocon_old:callback (2026-11-21) - 68
LazyTreapinstd.lazyand flatSparseTablestorage (2026-11-21) - 69
std.poly: formal power series over NTT on plainList<Mod<P>>(2026-11-21) - 70Comprehension filters are
if; power is**(2026-11-21) - 71
TimeTree.runandoffline_overzero-step-allocation callbacks (2026-11-21) - 72The compiler bundles
stdlib/without its@testfns (2026-11-21) - 73
Flip<T>/flip_actioninstd.lazy, combinator devirtualization, andLazyTreapfast path (2026-11-21) - 74
monge_pathis online LARSCH;aliensstops at countk(2026-11-21) - 75
L0415(loop_invariant_mod_div) lint withcpl fix(2026-11-21) - 76
range:onstd.seq.{reverse, rotate_left, rotate_right}(debt) andscan_in_place(2026-11-21) - 77The fast gate's 180 s budget warns instead of failing (2026-11-21)
- 78
Pathskeeps one witness array,back(2026-11-21) - 79
JumpTree: trees grown leaf by leaf (2026-11-21) - 80One
prefix(a)spelling withL0513(prefix_twin) (2026-11-21) - 81
std.slope.{Concave, Convex}: the slope trick as a library type (2026-11-21) - 82A global stored once with a literal is
static constexpr(2026-11-21) - 83Canonical-spelling docs gate and reasoning-enabled writable-from-docs harness (2026-11-21)
- 84Negative
sqrttraps incpl runandcpl build --checked(2026-11-21) - 85Open-addressing
cpl::HashMapandcpl::HashSetin codegen (2026-11-21) - 86
Rootedbuilds breadth-first with flat child ranges (2026-11-21) - 87
sort(cmp:)/sorted(cmp:)with checked strict-weak-order traps (2026-11-21) - 88Product domains
domain State = (V, K)(2026-11-21) - 89
LazyLinkCut<V, T, F>is a second type besideLinkCut(2026-11-21) - 90Partial-injection
a.inverse()on[D]?E -> [E]?D(2026-11-21) - 91Array parameters stored into a returned struct are taken by value and moved (2026-11-21)
- 92Unify
factor_bigintofactorinstd.math(2026-11-21) - 93One-spelling syntax rulings & position/range/enum ergonomics (2026-11-21)
- 94
xs.distinct()and consistent empty-sequence rule forfold(f)/min()/max()(2026-11-21) - 95
xs.reach(while:, cyclic:)names the two-pointer sweep (2026-11-21) - 96A memo the declarations prove small is a flat table alone (2026-11-21)
- 97Auto-loaded
Bitsetfor domain subset ops, struct array scalar-fill defaults, range-alias dims,[0..n]?T = read(none:), and?T.map/.filter(2026-11-21) - 98Reject
++, numeric-only unary+,fmtAST equivalence, and indented lambda block bodies (2026-11-21) - 99The offline bundle ships Try it programs as text, not base64 (2026-11-21)
- 100Validate stores into range-typed places via
ExprKind::RangeCheck(2026-11-21) - 101A range's ends are
startandend;endis exclusive (2026-11-21) - 102
PermTreeis a binary permutation tree over a fresh node domain (2026-11-21) - 103
SortedSet.range(r)andSortedBag.range(r)replace the 5 bound-query methods (2026-11-21) - 104
.mapon fixed arrays[D]T/[D, E]Tpreserves index domains (2026-11-21) - 105Single-iterator
IntervalMap.assignlowering and uncheckedSortedBaghot loops (2026-11-21) - 106Narrow 1D range-typed array and list elements to 32-bit storage (2026-11-21)
- 107Collapse
std.prefixto oneprefix(a)/Prefixand oneDifffamily (2026-11-21) - 108
Rooted.virtualreturns a virtual tree over a fresh domain (2026-11-21) - 109A product-domain loop is nested integer loops (2026-11-21)
- 110CSR
Adj<V, A>for pair/triple graphs and zero-copy array-to-list lowering (2026-11-21) - 111
if letbinds in headers;x is patis a Bool expression (2026-11-21) - 112Push-relabel is a second named max-flow method,
FlowGraph.push_relabel(2026-11-21) - 114Append-only
Prefix.filling(order: FillOrder)across 1D, 2D, and List (2026-11-21) - 119
Treeis in the prelude (2026-11-21) - 120
std.flow.Arcids are0..2^31(2026-11-21) - 121In-place
std.mo.modriver with separateadd/removeclosures (2026-11-21) - 116Type arguments on a receiver fill a list-form fn's generics; they never pick another fn (2026-11-21)
- 113Add
IntervalMaptostdlib/prelude.cp(2026-11-21) - 117Add
SortedSettostdlib/prelude.cp(80/80 cap) and ordered-container API parity (2026-11-21) - 115Extend element narrowing to 2D grids, nested sequences, and all-ranged tuple elements (2026-11-21)
- 118
CompressedandReversibleleave the prelude forTree,IntervalMap,SortedSetanddivmod(2026-11-21) - 122
std.lazy.LazyTreapsizes and priorities are0..2^31(2026-11-21) - 123Mutable slice views (
cpl::MutView<T>) via existing range-lending rules (2026-11-21) - 124A half-open range of cuts is also the piece it bounds (2026-11-21)
- 125Loops take an
elsethat runs when nobreakleft them (2026-11-21) - 126Library loops are generators; early exit stays in
for(2026-11-21) - 127Recursive lambdas; no method overloading (2026-11-21)
- 128Moves, overlapping
mutplaces, and map defaults (2026-11-21) - 129Compound assignment is a statement;
min=/max=report improvement (2026-11-21) - 130Chained comparisons point one way (2026-11-21)
- 131Inference unifies siblings within one expression, never across statements (2026-11-21)
- 132No custom destructuring; views are methods returning enums (2026-11-21)
- 133Number unused
- 134Field defaults and constrained string types (2026-11-21)
- 135Syntax batch from the dream corpus (2026-11-21)
- 136Gold-tier syntax:
varfields, graders, local types (2026-11-21) - 137Indices: position and cut words, empty domains (2026-11-21)
- 138Sequences, search/DP and graph/tree API rounds (proposed, 2026-11-21)
- 139Grader domains sized by the judge (2026-11-21)
- 140Parentheses mean work (2026-11-21)
- 141Lent values: five rules,
lendsonly on fn signatures (2026-11-21) - 142Six sequence capabilities (2026-11-21)
- 143Identity everywhere; keys in, keys out (2026-11-21)
- 144One ownership model, written out with exercises (2026-11-21)
- 145
@cachefields (2026-11-21) - 146Graph traits:
Nextwith arc capabilities (2026-11-21) - 147Constructor ownership; trees on one
Rooted; DFS (2026-11-21) - 148Release builds run no checks by default (2026-11-21)
- 149Numbers: storage widths, niches and layout (2026-11-21)
- 150The prelude is the lib chapters' vocabulary, by rule (2026-11-21)
- 151Orders flip with
desc, never by negating (2026-11-21) - 152Two pointers wrap on
a.ring, andundoingqueues any rollback structure (2026-11-21) - 153Dreams are written blind; the first blind batch adds graph-shaped and one-shot vocabulary (2026-11-21)
- 154
a.adjacentfor neighbours,a.pairs()for every pair (2026-11-21) - 155Two-pointer results can be keyed by the left end (2026-11-21)
- 156Product domains walk row-major;
P.nth(k)decodes a flat cell number (2026-11-21) - 157Enum variants are
PascalCase, includingSomeandNone(2026-11-21) - 158
a.buckets()is the one domain-keyed grouping (2026-11-21) - 159
(V, V)is an inline product domain; k-parameter lambdas unpack k-tuples (2026-11-21) - 160
d.closure(over:)is the value form offloyd_warshall(2026-11-21) - 161
read_all(until:)reads sentinel-ended input;group(by:, of:)projects values (2026-11-21) - 162
D.pieces(cuts:)is coordinate compression for intervals (2026-11-21) - 163
Rooted.try_from_parentsbuilds a forest from parents that may be invalid (2026-11-21) - 164
Pair<V>is the domain of unordered pairs (2026-11-21) - 165
read/printsignatures are written down, output mirrors input, andwire.askis one query (2026-11-21) - 166Library contradictions resolved (structures) (2026-11-21)
- 167Library contradictions resolved (graphs, strings, math)
- 168
SortedRange<K>is written down;Counter<K>meansCounter<K, Int>(2026-11-21) - 169Named-argument and record-field punning
f(x:)(2026-11-21) - 170A runtime ratio counts only when the original runs 100 ms (2026-11-21)
- 171A loop reaches a row it never moves once (2026-11-21)
- 172A local read for the last time moves into its place (2026-11-21)
- 173A recursive local closure is passed itself, not a
std::function(2026-11-21) - 174A recursive fn's closure parameter is a template (2026-11-21)
- 175Offline bundle splits port galleries into a lazy
gallerypart (2026-11-21) - 176A fn field nothing reads is dropped (2026-11-21)
- 177Dream gaps get one error that names the construct (2026-11-21)
- 178A field nothing reads is left out, with its stores (2026-11-21)
- 179Lent values follow ch5 R8 everywhere (2026-11-21)
- 180Checked builds never make extra calls to user code (2026-11-21)
- 181One-line enums use
=and|; variants with fields use the block form (2026-11-21) - 182
firstandlastare getters only; predicate searches arefindandrfind(2026-11-21) - 183Implicit conversions are one closed, numbered list (2026-11-21)
- 184Rebuild contradictions, batch 2 (2026-11-21)
- 185Rebuild holes, batch 3: reading, patterns, small grammar (2026-11-21)
- 186Rebuild holes, batch 4: one spelling per library job (2026-11-21)
- 187Binary search spends only the queries it needs (2026-11-21)
- 188One size budget for every judge, and copying is asked for (2026-11-22)
- 189The editor reports what
cpl checkreports, and reads types the checker kept (2026-11-21) - 190Diagnostic codes: one per rule, held to the catalogue by a test (2026-11-21)
- 191Traces are a delta log with periodic snapshots (2026-11-22)
- 192
read<T>()and a choice of fixed text costO(1)(2026-11-22) - 193Union-find methods document
O(log |V|)(2026-11-22) - 194Integer domain positions and plain enums are read and written in
O(1)(2026-11-22) - 195Segment tree methods document
O(log |D|)(2026-11-22) - 196Making a number into a position or a modular number costs
O(1)(2026-11-22) - 197A domain's
nth,atandwrapand a position'soffsetcostO(1)(2026-11-22) - 198
absof a number has its number type (2026-11-22) - 199A tuple read bounds each name it binds (2026-11-22)
- 200Toolchain downloads shell out to curl and tar (2026-11-22)
- 201Edge releases: one rolling, one immutable per day (2026-11-22)
- 202Printing an array over domains costs its size (2026-11-22)
- 203Printing a bounded list costs its length (2026-11-22)
- 204A code lens shows the memory a file's arrays take (2026-11-22)
- 205The memory lens counts lists of proven size (2026-11-22)
- 206A fn's estimated cost includes what the fns it calls cost (2026-11-22)
- 207
splitmix64andCompressed's lookups state their cost (2026-11-22) - 208A capitalized
letbounds what reads it, as aconstdoes (2026-11-22) - 209The editor checks against edition 0.3 unless told otherwise (2026-11-22)
- 210
checksandlintcontexts are compiler-provided (debt) (2026-11-22) - 211Graph reachability rows are
reach_sets, not a secondclosure(2026-11-22) - 2120.3 is the default edition (2026-11-22)
- 213
Indexed.at(k)takes a key; positional walks usenth(2026-11-22) - 214Architecture counts are shrink-only ratchets in the gate (2026-11-22)
- 215
cpl fmtline breaking, and what the formatter does not do (2026-11-22) - 216The recovery scoreboards skip ports that are not clean before the edit (2026-11-22)
- 217Shared append-only logs merge with git's union driver (2026-11-22)
- 218The commit hook runs the commit tier; land.sh and CI run the fast gate (2026-11-22)
- 219A trap's note names its locals from a second, recorded run (2026-11-22)
- 220
{}is not aSubsetliteral (2026-11-22) - 221
Prefix(a)on a grid is the 2-D prefix (2026-11-22) - 222Walking a
Mapyields(k, v)pairs in key order (2026-11-22) - 223A traced VM write to an
Intglobal is logged from the registers (2026-11-22) - 224The spec-block recovery probe skips API synopses (2026-11-22)
- 225Wall-clock assertions never block a landing or turn main red (2026-11-22)
- 226CI on main keeps one running and one waiting run (2026-11-22)
- 227Rebuild round 3's contradictions settle on what already runs (2026-11-22)
- 228CI runs --fast as five parallel jobs (2026-11-22)
- 229
cpl check --jsonprints one object of files and diagnostics (2026-11-22) - 230A record pattern may omit a field's pattern to bind its name (2026-11-22)
- 231
Mapis the default lookup table;HashMapis spelled to require hashing (2026-11-22) - 232A runtime modulus is spelled
type Z = Mod(p)(2026-11-22) - 233The printing trait is
Show(2026-11-22) - 230
--jsonand--format jsonare one flag (2026-11-22) - 234Landing is rebase and push; CI and the sheriff keep main green (2026-11-22)
- 235Lint's overflow prover stays out of the playground (2026-11-22)
- 236
cpl fmtsortsuseruns,stdfirst (2026-11-22) - 237A command's own errors start with
cpl:(2026-11-22) - 238
dfs_treereturns a forest over all ofV(2026-11-22) - 239
cpl lintreports the checker's lints (2026-11-22) - 240Chapter 13's release column follows chapter 9 (2026-11-22)
- 241An inline
modin a program sees the prelude (2026-11-22) - 242A loop whose indexes some rounds skip gets a checked and an unchecked copy (2026-11-22)
- 243
with lint(...)is the one way to silence a lint (2026-11-22) - 244The spec's command list follows tools-1's option C (2026-11-22)
- 245
cpl's exit codes are the binary's: 1 errors, 2 usage, 3 the program failed (2026-11-22) - 246Implicit widening is for scalars, never arrays (2026-11-22)
- 247Rule coverage reads a list of permissive rules (2026-11-22)
- 248An undirected graph's
edges()gives the end first inVasu(2026-11-22) - 249The
cplbinary allocates with mimalloc (2026-11-22) - 250
cpl fetchreads Codeforces and AtCoder pages, or a saved one (2026-11-22) - 251
cpl migrateapplies the fixes of migration diagnostics (2026-11-22) - 252An unknown judge named in a file or cp.toml exits 1, on the command line 2 (2026-11-22)
- 253
cpl bench --zero-costcompares the fastest run, not the median (2026-11-22) - 254
bench/v03_perf_bench.pytimes each side by its fastest CPU time (2026-11-22) - 255A range passed where a struct's type argument is a domain is an anonymous domain (2026-11-22)
- 256
Hashis a std trait instd.derive, not a compiler trait name (2026-11-22) - 257
countsstays a compiler builtin until a generator passed to aSeqparameter streams (2026-11-22) - 258
spanis onlystd.seq.span(lo: Cut<D>, hi: Cut<D>); the compiler's hull form goes (2026-11-22) - 259
spanis a compiler builtin again: ports use its hull form (2026-11-22) - 260
Counterreaches programs through the prelude'suse, not a compiler type name (2026-11-22) - 261The landing leads each tab group with programs that run (2026-11-22)
- 262Guide code blocks that run are live runners (2026-11-22)
- 263Learn for v0.3 is short chapters and judged problems up to Div 2 C (2026-11-22)
- 264Tier-1 editors are VS Code and Neovim (tools-2) (2026-11-22)
- 265
cpl explainand hover show four sections in v0.3 (tools-3) (2026-11-22) - 266The builtin floor: storage, I/O, bits and numeric primitives (2026-11-22)
- 267The steward may land pure-move refactors in other lanes' crates (2026-11-22)
- 268Debt ratchets hard-fail on any increase (2026-11-22)
- 269The v0.3 runtime bar is the perf set at p50 < 1.1x, p95 < 1.2x, max < 1.5x, tuned max < 1.1x (perf-1) (2026-11-22)
- 270Floored
%on anIntis semantics, not abstraction cost (perf-2) (2026-11-22) - 271Fitting 32 KB minifies the C++ before it drops the source header (perf-3) (2026-11-22)
- 272The trace's overhead bar is +20% over the untraced interpreter (2026-11-22)
- 273Tracing stays a flag on the commands that run; no
cpl trace,cpl snap,cpl debug(2026-11-22) - 274The trace viewer stays one self-contained file,
tools/trace/index.html(2026-11-22) - 275Lint severity: correctness denies in
cpl lint, never incpl build(2026-11-22) - 276
cpl fmtformats the corpus ports andspec/stdin one mechanical commit (2026-11-22) - 277The v0.3 linter and formatter design is approved (2026-11-22)
- 278The 305 tracked ports move to v0.3 mechanically first, then are re-ported idiomatically (2026-11-22)
- 279An unseen dry-run set gates the skill; the known 20 stay a regression check (2026-11-22)
- 280Generated files are regenerated by CI, not by
land.sh(2026-11-22) - 281The prelude is the
lib/chapter tables; the 80-name warning goes (2026-11-22) - 282An error that labels the broken line counts as on the right line (2026-11-22)
- 283Fix-its only where the repair is right; no placeholders (2026-11-22)
- 284Recovery bars: cascades <= 2%, common-mistake fix-its >= 95% (2026-11-22)
- 285The site's trace viewer links back to the site (2026-11-22)
- 286The gate has a commit tier and CI;
land.shruns no gate (2026-11-22) - 287Red CI on main does not block landing (2026-11-22)
- 288Unlanded devin/* branches: delete when landed, archive after 48 h (2026-11-22)
- 289A range's keys are its own elements;
r.nth(k)reads by position (2026-11-22) - 290Descending order is a key,
desc(x);sort/sortedlosedesc: Bool(2026-11-22) - 291
Int(s)of aSubset<B>is its mask, of aPair<V>its rank; both print as it (2026-11-22) - 292
V.count(the number of positions) stays besideV.count(f)(2026-11-22) - 293Corpus tests stay committed until every reader shares one answer cache (2026-11-22)
- 294One list of generated files, checked in the commit tier (2026-11-22)
- 295A range-backed domain named as a value is its whole
Range<V>(2026-11-22) - 296The formatter's line-1 stamp waits for the 0.3.0 version (2026-11-22)
- 297
cp.toml [fmt]sets the indent and line widths, and nothing else (2026-11-22) - 298
isqrtisstd.math.isqrt, an ordinary body, not a compiler builtin (2026-11-22) - 299The judge build keeps no traps unless
--checksasks (2026-11-22) - 300L0523 matches the call spellings of
min=andmax=(2026-11-22) - 301L0524
bool_ternary_printwarns without a fix (2026-11-22) - 302A whole contest from Competitive Companion gets its own folder (2026-11-22)
- 303The repository layout is
plan/LAYOUT.md, gated; generated files aregen.toml(2026-11-22) - 304L0525
peek_then_popmatchesList.lastandList.popby name (2026-11-22) - 305Comprehension and table lowering is its own module (2026-11-22)
- 306L0526
ceil_div_formulafixes only a provably positive divisor (2026-11-22) - 307The stdlib is
std/and the prover iscrates/cpl-prover(2026-11-22) - 308L0527
neg_mod_fixupdrops C++'s+ mremainder guard (2026-11-22) - 309
plan/STATUS.mdis generated; spec's status, delta and the release plan move (2026-11-22) - 310decisions.md merges with
merge=union(2026-11-22) - 311Tool contracts get rule ids
R<tool>.<n>(2026-11-22) - 318L0528
reverse_indexcovers only the whole-list reversed copy (2026-11-22) - 312
research/has an index and topic folders; bench results live inresearch/perf/(2026-11-22) - 314The Milestone 1 subset is
spec/SUBSET.md, held byconformance-subset.py(2026-11-22) - 313The playground lints through its own
lintcall, notcheck(2026-11-22) - 315A path length is an
Int, whatever the weight's range (2026-11-22) - 316
RangeFenwickandDualFenwickgo;SegTree(act:)covers both (2026-11-22) - 314
cpl setup neovim(andvim) installs the editor files built intocpl(2026-11-22) - 319L0414
unproven_list_indexispedantic, allowed by default (2026-11-22) - 317Every crate has a README: job, invariants, tests (2026-11-22)
- 317Unix-only test setup is
#[cfg(unix)], so the tests compile on Windows (2026-11-22) - 318Keep mimalloc and its four dependencies (2026-11-22)
- 320L0504 matches the calls
maxandminby name (2026-11-22) - 318
cpl-checkcheck/stmt.rs grows 3 lines for the L0609 help (2026-11-22) - 319
cpl-irlower/call.rs grows 58 lines for theInt(sqrt(n))fix (2026-11-22) - 320L0529 matches
sqrtby name; lint_std_names 138 -> 140 (2026-11-22) - 321L0524 matches a
printcall by name (2026-11-22) - 321Checker lints get page records in
spec/checker-lints/(2026-11-22) - 322Interval DP is
[V.ranges]Twithr.splits; a key'sfirstisV(2026-11-22) - 323A free
count/all/anyof one generator tests each value (2026-11-22) - 324Named arguments to a variadic parameter make a named tuple (2026-11-22)
- 322Seven newcomer spelling lints, L0540-L0546 (2026-11-22)
- 325Interval DP:
V.rangescells areRange<V>;ir_builtin_names85 -> 88 (2026-11-22) - 325Cell neighbours are getters; directions are constants (2026-11-22)
- 324Constant top-level domains hoist; lower/mod.rs cap 5959 -> 5961 (2026-11-22)
- 326Std doc examples run in the page; costs render as math (site, 2026-11-22)
- 326Lints for newcomer loops std names: argmax, mex, copy, queue, range, map count (2026-11-22)
- 326A trait bound's key and element parameters come from the bound sequence (2026-11-22)
- 327Decision numbers may not collide: the debt ratchet gates them (tech-debt, 2026-11-22)
- 331Grid neighbours are getters and
Dir4directions are constants (2026-11-22) - 328Lints for hand-written number theory, trees, geometry and counting (2026-11-22)
- 329
count_until(L0562): a value stepped while a counter counts is afind(2026-11-22) - 330
read_loop(L0564): a list read one item per step is one typed read;lint_std_names151 -> 152 (2026-11-22) - 332Named variadic args, field-wise
fieldsandT(...)grow three capped compiler files (stdlib, 2026-11-22) - 333
cpl fmtbreaks a long operator chain after its loosest operators (2026-11-22) - 326A fold costs what the receiver's type says (2026-11-22)
- 334Three hand-written graph and window algorithms teach their std names: L0565-L0567;
lint_std_names152 -> 159 (2026-11-22) - 335
cpl fmtrewrites only the paths it is given; no path formats stdin (2026-11-22) - 335Math is LaTeX inside
\( ... \)(2026-11-22) - 336Lint codes come from
scripts/new-lint.py, not by hand (2026-11-22) - 335
check/expr.rstakes +4 lines for the_bytwin fix (2026-11-23) - 337The browser compiler bundles std without its comments (2026-11-22)
- 338
cpl testandcpl stressmatch yes/no answers in any case (tools, 2026-11-23) - 337Small-to-large, Fenwick inversions and by-length interval DPs teach
absorb,inversionsand[I.ranges]: L0568-L0570;lint_std_names159 -> 164 (2026-11-22) - 336
xs.itemswalks aRange<Int>, so std's keyed fns take ranges;lower/call.rs+25 (2026-11-23) - 339
h.push(-x)into a min-heap teachesMaxHeap: L0571negated_heap;lint_std_names164 -> 165 (2026-11-23) - 340
xs.sorted()[0]teachesxs.min(): L0572sort_for_extreme;lint_std_names165 -> 171 (2026-11-23) - 341
pow_mod(a, P - 2, P)with a constantPteachesMod<P>.inv(): L0573fermat_inverse;lint_std_names171 -> 172 (2026-11-23) - 342
h.push(x)thenlet y = h.pop()!teachesh.push_pop(x): L0575push_pop_pair;lint_std_names172 -> 174 (2026-11-23) - 343
let x = s.first!thens.remove(x)teachess.pop_first()!: L0576pop_min_loop;lint_std_names174 -> 179 (2026-11-23) - 343Lints for 1-based query shifts and parallel coordinate arrays (2026-11-23)
- 344
cnt[x] = (cnt.get(x) ?? 0) + don aMap/HashMapofIntteachesCounter<K>: L0579counter_by_map;lint_std_names179 -> 180 (2026-11-23) - 345Range and on-type formatting splice whole statements from one layout (2026-11-23)
- 345
binom_by_handalso reads a factorial table times two inverse-table entries;lint_std_names180 -> 181 (2026-11-23) - 346The newcomer score credits a
missing <pattern>mark only once a lint names it (2026-11-23) - 346A scientific literal with an exact integer value is an
Int, whatever its mantissa (2026-11-23) - 347
/and%are Euclidean, which is floor division for a positive divisor (2026-11-23) - 348
List(s)converts one sequence; values make a list as a literal (2026-11-23) - 349On
Intkeys,pre[k]is the cut: the fold of the firstk(2026-11-23) - 346
some(x)andnoneare errors with a fix: E0503, applied bycpl migrate(2026-11-23) - 350A
Strcounts withcount(p);count(c: Char)leaves the spec (2026-11-23) - 351Editors show a library type's API, not its internals (2026-11-23)
- 352Run and test stay client commands, not
workspace/executeCommand(2026-11-23) - 350
lower/call.rsandlower/mono.rsgrow for defaulted operator arguments (stdlib, 2026-11-23) - 353A bare operator in a tuple or record is a value of its own empty type (stdlib, 2026-11-23)
- 354
lower/expr.rstakes +3 lines so the value()has the type()(stdlib, 2026-11-23) - 354A reversed view is not indexable (spec, 2026-11-23)
- 355
x[k] = von a struct withsetcallsset(W8IndexSet) (stdlib, 2026-11-23) - 356A token set from the statement is an enum, not a string-literal union (2026-11-23)
- 356A
rangeview on a value with no home holds that value (stdlib, 2026-11-23) - 357A generic fn named as a value is the closure that calls it (stdlib, 2026-11-23)
- 357Reverse 356: literal unions stay; an enum is for tokens with a payload (2026-11-23)
- 358Fields and methods are private to their module unless
pub(2026-11-23) - 359Graph algorithms read arc lengths through
arc_len;if A: Traitholds by shape (stdlib, 2026-11-23) - 360Rebuild-11 rulings:
if letelse, ring receiver, wrap of negatives (2026-11-23) - 361One trait-satisfaction relation: records by shape, structs by
impl(2026-11-23) - 367JetBrains: built-in LSP client where it exists, LSP4IJ in Community (tools, 2026-11-23)
- 362A top-level
varis a local of the file body (2026-11-23) - 363Rebuild-12 rulings: short-circuit, Bool xor, array fill, lowercase
const(2026-11-23) - 365Std marks a member
pubwhen it is documented or named outside its module (stdlib, 2026-11-23) - 364
cpl-diagdepends oncpl-json(infra, 2026-11-23) - 364
cpl-diagdepends oncpl-jsonfor the one diagnostic JSON shape (tools, 2026-11-23) - 366Rebuild-13 rulings: annotation widens a fresh read, no
desc:flag (2026-11-23) - 368Rebuild-15 rulings:
Char-domain positions, stepped ranges,Chartraps (2026-11-23) - 369Rebuild-16 rulings: lowercase
const, grid reads, temporaries infor(2026-11-23) - 370Rebuild-17 rulings: bit builtins, prelude math,
Charorder (2026-11-23) - 371Rebuild-18 rulings: per-test domains sized from domains (2026-11-23)
- 372
maximal/minimalreturn positions, not lent slices (2026-11-23)