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

Returns the first index where a given value is found in the stream. Definition:
>>> elemIndex a = Fold.findIndex (== a)