arrow-core-data / arrow.core / ValidatedOf

ValidatedOf

typealias ~~ValidatedOf~~<E, A> = Kind2<ForValidated, E, A> Deprecated: Higher Kinded types and their related type classes will no longer be supported after Arrow 0.13.0. Most relevant APIs are now concrete over the data types available as members or top level extension functions

Inheritors

Validated Imagine you are filling out a web form to sign up for an account. You input your username and password, then submit. A response comes back saying your username can’t have dashes in it, so you make some changes, then resubmit. You can’t have special characters either. Change, resubmit. Password needs to have at least one capital letter. Change, resubmit. Password needs to have at least one number.sealed class Validated<out E, out A> : ValidatedOf<E, A>

Do you like Arrow?

Arrow Org
<