Inherited from Serializable
Inherited from java.io.Serializable
Inherited from Product
Inherited from Equals
Inherited from Any
Inherited by implicit conversion StringAdd from
~[a, b] to StringAdd[~[a, b]]
Inherited by implicit conversion StringFormat from
~[a, b] to StringFormat[~[a, b]]
Inherited by implicit conversion Ensuring from
~[a, b] to Ensuring[~[a, b]]
Inherited by implicit conversion ArrowAssoc from
~[a, b] to ArrowAssoc[~[a, b]]
A wrapper over sequence of matches.
Given
p1: Parser[A]
andp2: Parser[B]
, a parser composed withp1 ~ p2
will have typeParser[~[A, B]]
. The successful result of the parser can be extracted from this case class.It also enables pattern matching, so something like this is possible: