ContraEithered

name.rayrobdod.stringContextParserCombinator.typeclass.ContraEithered
See theContraEithered companion object
trait ContraEithered[+Expr[_], +A, +B, -Z]

Describes how to disambiguate the union of two types

The parser determines whether the left or right branch is taken. The return value's Expr[Boolean] indicates whether the value matches the branch

Type parameters

A

the first choice

B

the second choice

Z

the result container

Attributes

See also
Companion
object
Source
Eithered.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait BiEithered[Expr, A, B, Z]

Members list

Value members

Abstract methods

def contraLeft: PartialExprFunction[Expr, Z, A]

Attributes

Source
Eithered.scala
def contraRight: PartialExprFunction[Expr, Z, B]

Attributes

Source
Eithered.scala