Traversal2

object Traversal2
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[S, T, A, B](view1: S => A, view2: S => A)(set: (B, B, S) => T): Traversal_[S, T, A, B]

create a polymorphic Traversal_ using two view functions that accept the same structure, and a setter function, and simultaneously focus on two distinct parts of it

create a polymorphic Traversal_ using two view functions that accept the same structure, and a setter function, and simultaneously focus on two distinct parts of it