From 1ef302259916d06666c1355ef35ee54e87b9223d Mon Sep 17 00:00:00 2001 From: Joseph Ferano Date: Sat, 26 Sep 2026 04:52:54 +0700 Subject: [PATCH] Parent struct, macro and loop sugar in .fln are queued --- TODO.org | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/TODO.org b/TODO.org index 96b32bf0..0c7d09eb 100644 --- a/TODO.org +++ b/TODO.org @@ -645,15 +645,15 @@ On the author's decision. =sort-by(xs, fn(a, b)= plus a block is refused; the lambda has to be bound first with =let=. Proposal: a call ending in =fn(...)= and a trailing =:= hands the block to that lambda: =sort-by(xs, fn(a, b)):=. -** WAIT A condition struct with a parent has no sugar +** NEXT A condition struct with a parent has no sugar On the author's decision. =defstruct(DiskFull, :parent, IoError, [free i64])= is the fallback, with a paren field vector. Proposal: =struct DiskFull :parent IoError= plus field lines. -** WAIT defmacro has no sugar +** 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. -** WAIT loop/recur has no sugar +** NEXT loop/recur has no sugar On the author's decision. =loop([x a y b]):=. Proposal: =loop x = a, y = b= plus a block; =recur(...)= stays a call.