From 8d24b024a2c51831b806e827c683218aa7662e1a Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Sat, 26 Sep 2026 05:19:51 +0700 Subject: [PATCH] One-line structs are queued --- TODO.org | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/TODO.org b/TODO.org index 54df9e4f..508c0d62 100644 --- a/TODO.org +++ b/TODO.org @@ -662,6 +662,10 @@ writes it back. A clean =flan check= lists the whole prelude (about 170 lines). Clean should print nothing, or only the file's own definitions behind a flag. +** NEXT A struct fits on one line +Decided 2026-09-26: ~struct Pt(x: i32, y: i32)~ beside the block form, like a data +case; union and a struct with a parent too. + ** NEXT defmacro has no sugar On the author's decision. =defmacro(repeat, [i n & body]):= with a space-separated parameter vector. Proposal: =macro repeat(i, n, & body)= plus a block.