arrow-optics / arrow.optics / PSetter / modify
abstract fun modify(s: S, f: (A) -> B): T
Modify polymorphically the focus of a PSetter with a function f.
Do you like Arrow?