Tacit or point-free style programming allows one to create functions without regard to their arguments. Can this be done in F#?
Tacit or point-free style programming allows one to create functions without regard to their arguments. Can this be done in F#?
Just to go with Chuck's answer & Chris Smiths' comment, you could write
When you combine those composition & pipeline operators with higher-order functions, you can do complicated stuff very succinctly:
EDIT: I just read about J and its implicit fork operator. That is very powerful. You can build equivalent higher-order operators in F#, but they won't be applied implicitly. So, for example, first define
lift
(using explicit arguments)and then apply it explicitly
to get something resembling the J example on the Wikipedia page you linked to. But its not quite "tacit."