Parent struct, macro and loop sugar in .fln are queued
This commit is contained in:
parent
15fc197f9d
commit
1ef3022599
6
TODO.org
6
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.
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user