It blew my mind when I saw it on K. I just wasn't expecting it.
add:{x+y}
f:add 1
f 2
3 add:{x+y}
f:add 1
f 2
3 add = (+)
f = add 1
f 2
This kind of syntax is great for small code samples or to play in a CLI, but in larger programs more traditional (verbose) syntax works better for me. YMMV.Also, and this isn’t really an FP point, if you’ve got a lot of positional parameters you’re already Doing It Wrong.