Re:Clio: A functional, distributed programming language that...
by mlajtos on Thursday March 18, 2021 @11:55AM
(#26503978)
On top of that, it is a symmetrical to fat arrow functions, which is a shorthand for lambda:
fun: x => x * 2
res: 4 -> fun
Re:Clio: A functional, distributed programming language that...
by vorticalbox on Thursday March 18, 2021 @03:05PM
(#26506314)
I have always used ramdajs for this.
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.