arrow-optics / arrow.optics / PPrism / liftOption

liftOption

open fun liftOption(f: (A) -> B): (S) -> Option<T>

Lift a function f: (A) -> B to the context of S: (S) -> Option`

Do you like Arrow?

Arrow Org
<