ForEachSyntax

class ForEachSyntax[GetWhole, SetWholeBefore <: GetWhole, SetPiece, GetError >: SetError, SetError, SetError1 >: GetError, GetPiece, SetWholeAfter](left: Optic[GetWhole, SetWholeBefore, Chunk[SetPiece], GetError, SetError, Chunk[GetPiece], SetWholeAfter])

Provides implicit syntax for applying an optic to each element of a collection accessed by another optic.

Provides implicit syntax for applying an optic to each element of a collection accessed by another optic.

class Object
trait Matchable
class Any

Value members

Concrete methods

final def foreach[SetPiece1, GetError1, SetError2, GetPiece1, SetWholeAfter1](right: Optic[GetPiece, GetPiece, SetPiece1, GetError1, SetError2, GetPiece1, SetPiece]): Optic[GetWhole, SetWholeBefore, Chunk[SetPiece1], GetError, SetError1, Chunk[GetPiece1], SetWholeAfter]

Accesses a piece of each element accessed by this optic using the specified optic.

Accesses a piece of each element accessed by this optic using the specified optic.