fold

inline fun <A> fold(failure: () -> A, success: (S) -> A): A
inline fun <A> fold(httpFailure: (NetworkEither.Failure.Http<F>) -> A, localFailure: () -> A, remoteFailure: () -> A, unknownFailure: (Throwable) -> A, success: (NetworkEither.Success<S>) -> A): A