Lens2

object Lens2
class Object
trait Matchable
class Any
Lens2.type

Value members

Concrete methods

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

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

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