-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
u/moon-chilled wrote:
[x] u ^: v^:_ y
This is not quite right. Recall that conjunctions are left-associative. So
u^:v^:_
is(u^:v)^:_
, notu^:(v^:_)
. Then, the 'do-while' behaviour is simply an idiomatic form resulting from existing behaviours: whenv
returns 0,u
will be applied to its operand 0 times, acting as an identity, so the^:_
will terminate.
So the current description is
execute
u
repeatedly untilv^:_
returns 0
while it should be
execute
u
repeatedly untilv
returns 0
The problem is that in the table we have v^:_
as a RMO (right modifying operator, IIRC), so it gets substituted as a whole.
Metadata
Metadata
Assignees
Labels
No labels