News for hackers. Stuff that matters.
Re:Concatenation is composition by Avshalom on Monday July 18, 2022 @06:16AM (#32136489)
>>start to use (in Haskell) "flip", "uncurry

This I think lines up with the general Forth advice to avoid stack juggling (swap, roll, over, dup etc).

Re:Concatenation is composition by zozbot234 on Monday July 18, 2022 @07:06AM (#32136796)
Sure, but some amount of stack juggling is unavoidable once you allow for multiple arguments/return values. It's a rare case when function arguments simply map "naturally" to the top values on the stack.
Re:Concatenation is composition by thesz on Monday July 18, 2022 @07:50AM (#32137148)
Joy allows to return a concatenation on top of stack. That's a single element that can contain several elements, just like tuple in Haskell.