arrow-optics / arrow.optics / PLens / invoke
operator fun <S, T, A, B> invoke(get: (S) -> A, set: (S, B) -> T): PLens<S, T, A, B>
Invoke operator overload to create a PLens of type S with target A.
Can also be used to construct Lens
Do you like Arrow?
✖