findM package:streamly

Returns the first element that satisfies the given predicate.
findM = Stream.fold Fold.findM