Lens4

object Lens4
class Object
trait Matchable
class Any
Lens4.type

Value members

Concrete methods

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

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

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