Join Slack
Powered by
Hi all, quick question: Is there a function somewh...
# arrow
n
Nathan Bedell
02/01/2022, 4:34 PM
Hi all, quick question: Is there a function somewhere in arrow core for turning List<A?> into List<A>? (Or something similar for Option)? In Haskell, I'd use sequence for this.
s
stojan
02/01/2022, 5:02 PM
You can use
sequenceNullable
https://arrow-kt.io/docs/apidocs/arrow-core/arrow.core/sequence-nullable.html
2
Views
Open in Slack
Previous
Next