← ZIO Parser docs

AnyParserOps

zio.parser.`package`.AnyParserOps
final implicit class AnyParserOps[Err, In](self: Parser[Err, In, Any]) extends AnyVal

Attributes

Source
package.scala
Graph
Supertypes
class AnyVal
trait Matchable
class Any

Members list

Value members

Concrete methods

def zipRight[Err2 >: Err, In2 <: In, Result](that: => Parser[Err2, In2, Result]): Parser[Err2, In2, Result]

Concatenates this parser with that parser, and if both succeeds, discard the first result and use the second.

Concatenates this parser with that parser, and if both succeeds, discard the first result and use the second.

Attributes

Source
package.scala
def ~>[Err2 >: Err, In2 <: In, Result](that: => Parser[Err2, In2, Result]): Parser[Err2, In2, Result]

Symbolic alias for zipRight

Symbolic alias for zipRight

Attributes

Source
package.scala