We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
T.map(one), T.map(two),
and
T.map(one), T.chain(two),
can become
T.map(flow( one, two, )),
T.chain(flow( one, two, )),
respectively to avoid working in the Task (applies to other categories too).
This applies to 1..n map optionally followed by a chain (where the total number is at least 2).
map
chain
Probably a bit thorny to catch these cases, but can help readability.
Real examples
The text was updated successfully, but these errors were encountered:
👍
This also makes it easier to extract a function, e.g. to convert from
to
const fn = flow( one, two, ); T.map(fn),
Sorry, something went wrong.
No branches or pull requests
and
can become
and
respectively to avoid working in the Task (applies to other categories too).
This applies to 1..n
map
optionally followed by achain
(where the total number is at least 2).Probably a bit thorny to catch these cases, but can help readability.
Real examples
The text was updated successfully, but these errors were encountered: