findIndices package:base-prelude

The findIndices function extends findIndex, by returning the indices of all elements satisfying the predicate, in ascending order.
>>> findIndices (`elem` "aeiou") "Hello World!"
[1,4,7]