News for hackers. Stuff that matters.
Re:A List of Ternary Operators by lilyball on Tuesday November 05, 2024 @03:10PM (#42054752)
When talking about J forks, the author says they don't know how to parse `x (f1 f2 f3 f4 f5) y`. After reading the relevant documentation, I believe this parses as

  (x f1 y) f2 ((x f3 y) f4 (x f5 y))
Re:A List of Ternary Operators by abrudz on Tuesday November 05, 2024 @06:06PM (#42055986)
Correct. Now try parsing `x (f1 f2 f3 f4 f5 f6) y`!
Re:A List of Ternary Operators by lilyball on Sunday November 10, 2024 @10:23PM (#42104372)
It looks like that should be

  x f1 ((f2 y) f3 ((f4 y) f5 (f6 y)))
though the docs include the phrase "which is part of a hook" and I don't know what that means.