If I understand correctly, with Unions in Arrow Me...
# arrow
c
If I understand correctly, with Unions in Arrow Meta it will be possible to have this situation: • A
connectToInternet(): Either<InternetError, String>
• A
printToClient(msg: String): Either<PrintError, String>
And be able to compose them into
composed(): Either<Union2<InternetError, PrintError>, String>
? I think this would be a very convenient pattern, since to my knowledge using Either with a sealed class is not very convenient for long chains of operations since multiple kind of errors can happen?