Join Slack
Powered by
to get from a List<Either<E,V>> to Lis...
# arrow
d
Daniel Selinger
02/06/2018, 9:42 PM
to get from a List<Either<E,V>> to List<V> is there a more sensible solution than
Copy code
list.flatMap {it.toOption().toList()}
?
Open in Slack
Previous
Next