StringGraph

object 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 val integer: Pred_
lazy val isA: Pred_
lazy val letter: Pred_
lazy val one: Pred_
lazy val size2: Pred_
lazy val two: Pred_

Implicits

Implicits

implicit def mkErr: MsgError
implicit val readErr: Read[MsgError]
implicit val readString: Read[String]