These are chat archives for ramda/ramda

9th
Feb 2018
Tomáš Konrády
@tommmyy
Feb 09 2018 07:22 UTC
@vsviridov just tried to be pointfree
Tomáš Konrády
@tommmyy
Feb 09 2018 13:16 UTC
@goldhand
I don't know if it is better:
const suma = (a, b, c) => a+b+c;

const reduceSource2 = converge(
  reduce, 
  [useWith(partialRight, [identity, of]), nthArg(1), nthArg(2)]
);

reduceSource2(suma, 1, [2, 3]) // 8
Vasili Sviridov
@vsviridov
Feb 09 2018 17:45 UTC
@tommmyy isn't always worth it...