How to rewrite this in terms of R.compose
问题 var take = R.curry(function take(count, o) { return R.pick(R.take(count, R.keys(o)), o); }); This function takes count keys from an object, in the order, in which they appear. I use it to limit a dataset which was grouped. I understand that there are placeholder arguments, like R.__ , but I can't wrap my head around this particular case. 回答1: This is possible thanks to R.converge, but I don't recommend going point-free in this case. // take :: Number -> Object -> Object var take = R.curryN(2,