Liking cljdoc? Tell your friends :D

cats.applicative.validation

The Validation applicative implementation and helper functions for validating values. Isomorphic to Either.

The Validation applicative implementation and helper functions
for validating values. Isomorphic to Either.
raw docstring

either->validationclj/s

(either->validation ae)
source

Failcljs

source

failclj/s

(fail)
(fail v)

A Fail type constructor.

A Fail type constructor.
sourceraw docstring

fail?clj/s

(fail? v)

Return true if v is an instance of Fail type.

Return true if `v` is an instance
of Fail type.
sourceraw docstring

okclj/s

(ok v)

An Ok type constructor.

An Ok type constructor.
sourceraw docstring

Okcljs

source

ok?clj/s

(ok? v)

Return true if v is an instance of Ok type.

Return true if `v` is an instance
of Ok type.
sourceraw docstring

validation->eitherclj/s

(validation->either av)
source

validation?clj/s

(validation? v)

Return true in case of v is instance of the Validation applicative.

Return true in case of `v` is instance
of the Validation applicative.
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close