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
whenSuccess
whenFailure
whenSuccess_
whenFailure_
whenSuccessM
whenFailureM
The text was updated successfully, but these errors were encountered:
@vrom911 Good idea! I guess we can even put them in some module like Validation.Combinators
Validation.Combinators
Sorry, something went wrong.
One more useful function to add: run multiple validations on a single value. Something like:
validateAll :: Semigroup e => [a -> Validation e b] -> a -> Validation e a
Can be used like:
validatePassword = validateAll [ validateEmptyPassword , validateShortPassword ]
[#24] Extra interface functions
66a6528
Resolves #24
[#24] Extra interface functions (#45)
8dc86be
* [#24] Extra interface functions Resolves #24 * Rename vars * Add hs-boot for Validation to break cyclic deps
vrom911
Successfully merging a pull request may close this issue.
whenSuccess
whenFailure
whenSuccess_
whenFailure_
whenSuccessM
whenFailureM
The text was updated successfully, but these errors were encountered: