validation
A data-type like Either but with differing properties and type-class instances. Library support is provided for this different representation, include lens-related functions for converting between each and abstracting over their similarities. Validation The Validation data type is isomorphic to Either, but has an instance of Applicative that accumulates on the error side. That is to say, if two (or more) errors are encountered, they are appended using a Semigroup operation. As a consequence of this Applicative instance, there is no corresponding Bind or Monad instance. Validation is an example of, "An applicative functor that is not a monad." [Index] [Quick Jump] Package maintainers For package maintainers and hackage trustees Candidates
hackage.haskell.org
1.1.5
2 days ago
26
26,931 total
5
78
Links
| Registry | hackage.haskell.org |
| Source | Repository |
| JSON API | View JSON |
| CodeMeta | codemeta.json |
Package Details
| PURL |
pkg:hackage/validation
spec |
| License | BSD-3-Clause |
| First Release | about 12 years ago |
| Last Synced | 1 day ago |
Repository
| Stars | 98 on GitHub |
| Forks | 28 on GitHub |