elemIndices -package:unboxing-vector -package:pipes-bytestring package:streamly

Find all the indices where the value of the element in the stream is equal to the given value.
elemIndices a = findIndices (== a)