LowPriorityOpticCompose

class Object
trait Matchable
class Any

Implicits

Implicits

final implicit def lensCompose[GetWhole <: SetWholeBefore, SetWholeBefore, SetWholeBefore1, GetPiece <: SetWholeBefore1, GetError <: SetError1, SetError <: SetError1, SetError1]: OpticCompose[GetWhole, SetWholeBefore, SetWholeBefore1, GetWhole, GetError, SetError, SetError1, GetPiece]

Compose two optics when the piece of the whole returned by the first optic is needed by the set operator of the second optic. This is more powerful but requires unifying the error types.

Compose two optics when the piece of the whole returned by the first optic is needed by the set operator of the second optic. This is more powerful but requires unifying the error types.