TODO.org queues decision 148, insertion-ordered typed maps, and records 149.

This commit is contained in:
Joseph Ferano 2026-09-26 19:37:03 +07:00
parent d5181eead1
commit a082d4c1fc

View File

@ -1385,6 +1385,14 @@ CLOSED: [2026-09-25]
dev build wipes it at a top-level agent poll; an expression run at a stop gets a scratch temp arena. dev build wipes it at a top-level agent poll; an expression run at a stop gets a scratch temp arena.
* Runtime * Runtime
** NEXT Typed maps and sets keep insertion order
Decided (148): a typed Map or Set iterates and prints in insertion order, Python's compact
layout (dense entries plus an index table), so dyn and typed agree and runs repeat.
Rules out a per-run order from the address-derived seed.
** DONE A typed set holds no sets
CLOSED: [2026-09-26]
Decided (149): Set(Set(T)) and a typed set as a typed map key stay refused, since a typed
key cannot own storage; the refusal points at a dyn set. Rules out owning keys for now.
** TODO Values print in paren spelling ** TODO Values print in paren spelling
=println(get(m, 1))= prints =(some 10)= and =none=; .fln is the only language, so the =println(get(m, 1))= prints =(some 10)= and =none=; .fln is the only language, so the
printer should write =Some(10)= and =None=, and check every other paren-shaped output. printer should write =Some(10)= and =None=, and check every other paren-shaped output.