Gopal S Akshintala
03/15/2020, 1:08 AMfun <S, E> User.upsert(result: Kind<S, Unit>) where S: EitherPartialOf<Nel<E>>, S: ValidatedPartialOf<Nel<E>> = fx.async {
result.fix().bimap(
toLeft(),
toRight()
)
}