arrow-optics / arrow.optics / PSetter / modify

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?

Arrow Org
<