Davide Giuseppe Farella
03/08/2023, 12:48 PMEither<A, List<B>>
?
e.g. listOf(1, 2).right() shouldContainExactly listOf(2, 1).right()
or listOf(1, 2).right() shouldContainExactly listOf(2, 1)
Davide Giuseppe Farella
03/08/2023, 12:50 PMlistOf(1, 2).right().getOrNull() shouldContainExactly listOf(2, 1)
LeoColman
03/08/2023, 3:13 PMLeoColman
03/08/2023, 3:13 PMDavide Giuseppe Farella
03/08/2023, 3:16 PMshouldBeRight
part of any extension? For my understanding there was an Arrow extension, but there isn't anymore 🤔LeoColman
03/08/2023, 3:21 PMLeoColman
03/08/2023, 3:21 PM