Re:Retro: A Modern, Pragmatic Forth
by fiddlerwoaroof on Thursday May 23, 2019 @11:45PM
(#19998293)
It would be interesting to have a forth where, if you try to pop from an empty stack, you get a function object that consumes the next things pushed onto the stack (i.e. functions are curried)
APL/K and Forth also have very concise syntax for declaring functions.
It's subtle, but I think making function declarations "lightweight" in this manner is important for encouraging factoring. In APLs the scale of the semantic units you give names to is a little different, but that's its own separate discussion.