Daniel TIefenauer
01/31/2024, 3:19 PMval either1 = Either.catch { ... /* some logic here*/ }
val either2 = Either.catch { ... /* some fallback logic here*/ }
val either = if (either1.isRight()) either1 else either2
I thought there would be a function to chain the eithers somehow...Youssef Shoaib [MOD]
01/31/2024, 3:22 PMeither1.recover { either2.bind() }
Daniel TIefenauer
01/31/2024, 3:25 PM.bind
somehow fails to show in IntelliJ code completion...Youssef Shoaib [MOD]
01/31/2024, 3:26 PMRaise
, but I would expect it to still show up. That's strange. Might be something solved in K2