BiRepeated

name.rayrobdod.stringContextParserCombinator.typeclass.BiRepeated
See theBiRepeated companion object
trait BiRepeated[Expr[_], A, Z] extends Repeated[A, Z], ContraRepeated[Expr, A, Z]

Describes how to combine and break apart a repeated value

Type parameters

A

the repeated input elements

Expr

the macro-level expression type

Z

the result container

Attributes

See also
Companion
object
Source
Repeat.scala
Graph
Supertypes
trait ContraRepeated[Expr, A, Z]
trait Repeated[A, Z]
class Object
trait Matchable
class Any

Members list

Type members

Inherited types

type Acc

The accumulator

The accumulator

Attributes

Inherited from:
Repeated
Source
Repeat.scala

Value members

Inherited methods

def append(acc: Acc, elem: A): Acc

Inserts elem into acc

Inserts elem into acc

Attributes

Inherited from:
Repeated
Source
Repeat.scala
def headTail: PartialExprFunction[Expr, Z, (A, Z)]

Attributes

Inherited from:
ContraRepeated
Source
Repeat.scala
def init(): Acc

Returns a new empty accumulator

Returns a new empty accumulator

Attributes

Inherited from:
Repeated
Source
Repeat.scala
def isEmpty(it: Z): Expr[Boolean]

Attributes

Inherited from:
ContraRepeated
Source
Repeat.scala
def result(acc: Acc): Z

Transforms acc into a Z

Transforms acc into a Z

Attributes

Inherited from:
Repeated
Source
Repeat.scala