These are chat archives for ramda/ramda

Apr 2015
Scott Christopher
Apr 26 2015 06:53

Is there any particular reason why doesn't play nicely with R.__? e.g., '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
Apr 26 2015 06:57
@scott-christopher, it's variadic.
In the eyes of curry it only takes one argument.
Scott Sauyet
Apr 26 2015 21:58
...which is one more argument against having any variadic functions at all in the library.