ramda
ramda copied to clipboard
doc should note if function return not curry function
ex:
const list = unapply(I)
chain(list, I)(1)
// TypeError: fn(...) is not a function
converge(list, [I,I])(1)
// return [1,1]
alt
const list = curryN(2, unapply(I))
chain(list, I)(1)
// return [1,1]
like compose Note: The result of compose is not automatically curried.
Agreed. This would be a very good idea. Do you have an interest in creating a PR for this?
Anytime, https://github.com/ramda/ramda/pull/3279