fun <A> wrap(f: (R2) -> A): (R2) -> Pair<Out<Either<E1, E2>, A>, R2>
Wrap a business function in a given effect
Gives back "wrapped function"