elemIndex -package:vector-sized -package:vector -package:numeric-prelude package:streamly

Returns the first index where a given value is found in the stream.
elemIndex a = Stream.findIndex (== a)