← ZIO Parser docs

PrinterOps

zio.parser.`package`.PrinterOps
final implicit class PrinterOps[Err, Out, Value](self: Printer[Err, Out, Value]) extends AnyVal

Attributes

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

Members list

Value members

Concrete methods

final def zip[Err2 >: Err, Out2 >: Out, Value2, ZippedValue](that: => Printer[Err2, Out2, Value2])(implicit unzippableValue: In[Value, Value2, ZippedValue]): Printer[Err2, Out2, ZippedValue]

Take a pair to be printed, print the left value with this, and the right value with 'that'. The result is a pair of both printer's results.

Take a pair to be printed, print the left value with this, and the right value with 'that'. The result is a pair of both printer's results.

Attributes

Source
package.scala
def zipRight(that: => Printer[Err, Out, Value]): Printer[Err, Out, Value]

Print this, then print that and use the second printer's result value. Both printers get the same value to be printed.

Print this, then print that and use the second printer's result value. Both printers get the same value to be printed.

Attributes

Source
package.scala
final def ~[Err2 >: Err, Out2 >: Out, Value2, ZippedValue](that: => Printer[Err2, Out2, Value2])(implicit zippableValue: In[Value, Value2, ZippedValue]): Printer[Err2, Out2, ZippedValue]

Symbolic alias for zip

Symbolic alias for zip

Attributes

Source
package.scala
def ~>(that: => Printer[Err, Out, Value]): Printer[Err, Out, Value]

Symbolic alias for zipRight

Symbolic alias for zipRight

Attributes

Source
package.scala