ValidationRule

works.iterative.forms.ValidationRule
See theValidationRule companion object
trait ValidationRule[F[_], -RawValue, +OutputValue] extends RawValue => F[ValidationState[OutputValue]]

Attributes

Companion
object
Graph
Supertypes
trait RawValue => F[ValidationState[OutputValue]]
class Object
trait Matchable
class Any
Known subtypes
class Contramapped[F, R, R1, O]
class FlatMapped[F, R, O, O1]
class Mapped[F, R, O, O1]
Self type
ValidationRule[F, RawValue, OutputValue]

Members list

Value members

Concrete methods

def contramap[B](f: B => RawValue): ValidationRule[F, B, OutputValue]
def flatMap[O1](other: ValidationRule[F, OutputValue, O1])(using IdentityBoth[F], AssociativeFlatten[F], Covariant[F]): ValidationRule[F, RawValue, O1]
def map[B](f: OutputValue => B)(using Covariant[F]): ValidationRule[F, RawValue, B]

Inherited methods

def andThen[A](g: (F[ValidationState[OutputValue]]) => A): RawValue => A

Attributes

Inherited from:
Function1
def compose[A](g: A => RawValue): A => F[ValidationState[OutputValue]]

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1

Inherited and Abstract methods

def apply(v1: RawValue): F[ValidationState[OutputValue]]

Attributes

Inherited from:
Function1