-
console.log(
R.pipe(
() => ['begin'],
R.concat(['end'])
)(),
)
// output ["end","begin"]
// i want to output [ "begin","end"]
// how to deal with |
Beta Was this translation helpful? Give feedback.
Answered by
adispring
Jan 3, 2023
Replies: 2 comments
-
Although curried, concat represents a binary operation: |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
WingDust
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
R.concat(R.__, ['end'])
orR.flip(R.concat)
.