StringGraph

Companion
class
class Object
trait Matchable
class Any

Type members

Types

type Pred_ = Pred[String, RbeError, String]

Value members

Concrete methods

def cond[A](x: A, p: A => Boolean, name: String): CheckVal[A, RbeError, String]

Checks a predicate on a value

Checks a predicate on a value

Value Params
name

name of the condition to check

p

the predicate

x

the value to check

Returns

if the value satisfies the predicate, a Checker with an ok value, otherwise the error that results of applying ferr to the name of the condition

Concrete fields

lazy
lazy
val isA: Pred_
lazy
lazy
val one: Pred_
lazy
lazy
val two: Pred_

Implicits

Implicits

implicit
implicit
implicit
val readString: Read[String]