validation 0.1.0 copy "validation: ^0.1.0" to clipboard
validation: ^0.1.0 copied to clipboard

Dart 1 only

A port of scalaz's Validation[F, S] class to dart.

Validation #

A port of scalaz's Validation[F, S] class to dart. It's a way of codifying errors and success values in the type system. A Validation<F, S> is an interface which is implemented by either a Failure<F, S> or a Success<F, S>. Success<F, S> is a container of type S and it's meant to contain the success value while Failure<F, S> is a container of type F meant to contain the failure/error value.

Implements Functor, Applicative and Monad from concepts.

0
likes
15
pub points
35%
popularity

Publisher

unverified uploader

A port of scalaz's Validation[F, S] class to dart.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

concepts, option

More

Packages that depend on validation