RuleBuilder

erules.core.Rule$.RuleBuilder

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def apply[F[_], T](f: T => F[RuleVerdict]): Rule[F, T]
def check[F[_], T](f: T => F[RuleVerdict]): Rule[F, T]
def const[F[_] : Applicative, T](v: RuleVerdict): Rule[F, T]
def failed[F[_] : ApplicativeThrow, T](ex: Throwable): Rule[F, T]
def partially[F[_] : Applicative, T](f: PartialFunction[T, F[RuleVerdict]]): Rule[F, T]