Skip to content

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
@glours glours force-pushed the validation-type branch from 41e9d24 to ac68691 Compare June 2, 2021 21:14
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

2 participants