Sequentially evaluates f
on elements in ts
until p
evaluates to true.
Sequentially evaluates f
on elements in ts
until p
evaluates to true.
If p
does not evaluate to true to any element in ts
, the result of f
on the last element in ts
is returned. If ts
is empty a failed Future
is returned.
the first result that satisfies p
, or the last result if there's no match