Train Spotting in Version 14.0
summary
Version 14.0 adds a Function Train syntax that gives concrete semantics to juxtaposed functions: three functions form a three-train/fork rule (left and right prongs apply to arguments, middle combines), two functions form a two-train (g atop h), and longer sequences right-associative grouping reduces them into nested trains. Implementation chooses early binding (not late), a small compiler converts defuns into equivalent trains, and the interpreter already applies interpreter optimizations to avoid intermediates in common patterns (min/max, first/last, find).
AI-written summary · about
