These are chat archives for ramda/ramda

26th
Apr 2015
Scott Christopher
@scott-christopher
Apr 26 2015 06:53

Is there any particular reason why R.call doesn't play nicely with R.__? e.g.

R.call(R.__, 'foo')

results in:

TypeError: Object #<Object> has no method 'apply'
    at call (src/call.js:31:13)
    at src/curryN.js:61:17
    at src/arity.js:33:53
Simon Friis Vindum
@paldepind
Apr 26 2015 06:57
@scott-christopher, it's variadic.
In the eyes of curry it only takes one argument.
Scott Sauyet
@CrossEye
Apr 26 2015 21:58
...which is one more argument against having any variadic functions at all in the library.