As far as I can see, the arrow signifies function application. Why do you consider “a -> f” more intuitive than, say, “f(a)” or “f a”?
It is the pipe operator (F#, Elixir, Haxe, etc.). There is a proposal to add it to js too.
fun: x => x * 2
res: 4 -> fun
const R = require('ramda');
R.pipe(a,f,g,h)
It is the pipe operator (F#, Elixir, Haxe, etc.). There is a proposal to add it to js too.