Design decisions

220. {} is not a Subset literal (2026-11-22)

  • Decision. std.subset and lib/search-dp.md wrote the empty subset as {}, but core has no {} literal and the parser reads it as an empty block. The empty subset is Subset<B>.empty; {} where a Subset is expected is E0301. A core literal for one std type breaks the small-core rule.
  • Reverse. Add an empty-collection literal to the core grammar, typed by the expected type, and write it back into the std and lib docs.