Traverse
Closed this issue · 0 comments
0xjocke commented
If I have an array of maybes and want to turn that into one maybe with an array. eg:
const x = [Just(1), Just(2)]
// turned into Maybe<[1,3]>
What would be the idiomatic way to do this? I was looking to use traverse but it looks like it's only implemented on the Future