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
the docs state that Failures will be accumulated in a list
monet.js/docs/LIST.md
Lines 316 to 332 in 5668595
const { Success, Fail, List } = require("monet"); > List.fromArray([ ... Success("a"), ... Success("b"), ... Success("c") ... ]).sequenceValidation() { val: { isNil: false, head_: 'a', tail_: { isNil: false, head_: 'b', tail_: [Object], size_: 2, '@@type': 'monet.js/List' }, size_: 3, '@@type': 'monet.js/List' }, isSuccessValue: true, '@@type': 'monet.js/Validation' } > // => Success(List("a", "b", "c")) undefined > > List.fromArray([ ... Success("a"), ... Success("b"), ... Fail("c"), ... Fail("d"), ... Success("e") ... ]).sequenceValidation() { val: 'cd', isSuccessValue: false, '@@type': 'monet.js/Validation' }
And unless I;ve done this wrong, the type in the second example is returned as a string and not a list
"monet": "^0.9.3",
> node --version v16.13.0
The text was updated successfully, but these errors were encountered:
@jtzero please see #258
Sorry, something went wrong.
No branches or pull requests
the docs state that Failures will be accumulated in a list
monet.js/docs/LIST.md
Lines 316 to 332 in 5668595
And unless I;ve done this wrong, the type in the second example is returned as a string and not a list
The text was updated successfully, but these errors were encountered: