Design decisions

113. Add IntervalMap to stdlib/prelude.cp (2026-11-21)

  • Decision. Re-export std.interval.IntervalMap from stdlib/prelude.cp (allocated prelude slot under decision 118, cap 80).
  • Evidence. 2 corpus ports (cf2237h.cp, cf2057f.cp) and 2 dreams (dream/cf2237h.cp, dream/cf2057f.cp) use IntervalMap; 0 name collisions across the corpus; emitted C++ is byte-identical across measured ports (cf2237h, cf2057f, cf2022c, cf2262b) and build time is within noise (+0.05..+3.7 ms).
  • Reverse. Delete use std.interval.{IntervalMap} from stdlib/prelude.cp and restore explicit use std.interval.{IntervalMap} in callers.