These are chat archives for ramda/ramda
R.liftN(3, Array.of)(,,)but I get an extra array wrapping the result
[[1,2,3]]instead of just
@xgrommx I need this to work for arrays, of eithers/maybes/etc as well
@raine Thank you, I'll try traverse :D
seems kind of odd that the type information is the 1st argument instead of the 2nd. It seems like it would be more useful to create shared behaviours for different functors, and then provide the type information at the call site when you have the most context?
const liftAllOf = R.traverse(R.identity) // later liftAllOf(S.Either, [a,b,c,d])
I guess you could use a placeholder. Is there a reason for providing the type first that I am missing?
R.traverse(R.identity)it is the same