Skip to content
New issue

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

Add first steps of Validation implementation #10

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

glours
Copy link
Owner

@glours glours commented Jun 1, 2021

Implementation of Validation control type.

Func of Validation type:

  • IsValid
  • IsInvalid() bool
  • OrElse
  • ErrorOrElse
  • Swap
  • ToEither
  • Filter

High order functions

  • ValidOf
  • InvalidOf
  • FromTry
  • FromEither
  • CombineValidation
  • ApplyValidation
  • MapValidation
  • FlatMapValidation
  • MapErrorValidation
  • FoldValidation
  • BimapValidation

Other:

  • Add samples to README.md

Fix #2

@glours glours self-assigned this Jun 1, 2021
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.

Add Validation type in control package
1 participant