Skip to content

R.flip: clarify description and use “swapped” for first two parameters#3526

Merged
kedashoe merged 5 commits into
ramda:masterfrom
N0FreeLunch:79
Oct 26, 2025
Merged

R.flip: clarify description and use “swapped” for first two parameters#3526
kedashoe merged 5 commits into
ramda:masterfrom
N0FreeLunch:79

Conversation

@N0FreeLunch
Copy link
Copy Markdown
Contributor

related to: #3525

@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 24, 2025

Coverage Summary
> ramda@0.32.0 coverage:summary
> BABEL_ENV=cjs nyc --reporter=text-summary mocha -- --reporter=min --require @babel/register

�[2J�[1;3H
1209 passing (981ms)


=============================== Coverage summary ===============================
Statements   : 94.1% ( 2519/2677 )
Branches     : 85.9% ( 981/1142 )
Functions    : 93.37% ( 563/603 )
Lines        : 94.36% ( 2361/2502 )
================================================================================

Comment thread source/flip.js Outdated
* @param {Function} fn The function to invoke with its first two parameters reversed.
* @return {*} The result of invoking `fn` with its first two parameters' order reversed.
* @param {Function} fn The function to be invoked with its first two parameters swapped.
* @return {Function} Returns function a function that calls `fn` with its first two arguments swapped.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Returns function a function

Extra "function" here?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank you. I fixed it.

@kedashoe kedashoe merged commit 612d6a0 into ramda:master Oct 26, 2025
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants