Seq.sequenceResultM?
njlr opened this issue · 2 comments
njlr commented
The function List.sequenceResultM
takes a list of results and returns either all Ok
values or the first Error
value.
However, this requires us to compute all results, even if there is an error!
Is there a lazy version of this function?
Perhaps Seq.sequenceResultM
?
TheAngryByrd commented
There isn't one available but I'll definitely accept a PR for it!