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
Related #35
Do does not support destructuring binding.
do (a, b) <- m let (a, b) = x ...
.bindD(m.map(x => ({ a: x.a, b: x.b }))) === .bind("tmp", m).letL("a" ,({ tmp }) => tmp.a).letL("b" ,({ tmp }) => tmp.b) .bindDL(() => m.map(x => ({ a: x.a, b: x.b }))) === .bindL("tmp", () => m).letL("a" ,({ tmp }) => tmp.a).letL("b" ,({ tmp }) => tmp.b) .letD({ a: 1, b: 2 }) === .sequenceS({ a: M.of(1), b: M.of(2) }) .letDL(() => ({ a: 1, b: 2 })) === .sequenceSL(() => ({ a: M.of(1), b: M.of(2) }))
The text was updated successfully, but these errors were encountered:
I just created PR #59 that implements chain and chainL. I'm not sure if it solves the problem but maybe you could take a look at it.
chain
chainL
Sorry, something went wrong.
No branches or pull requests
🚀 Feature request
Related #35
Do does not support destructuring binding.
Suggested Solution
The text was updated successfully, but these errors were encountered: