index package:pipes

Index into a Producer
Find the index of the first element of a Producer that satisfies the predicate