The elemIndex function returns the index of the first element
in the given list which is equal (by ==) to the query element,
or Nothing if there is no such element. For the result to be
Nothing, the list must be finite.
O(n) The elemIndex function returns the index of the
first element in the given ByteString which is equal to the
query element, or Nothing if there is no such element. This
implementation uses memchr(3).
O(n) The elemIndex function returns the index of the
first element in the given ByteString which is equal (by
memchr) to the query element, or Nothing if there is no such
element.
O(n) The elemIndex function returns the index of the
first element in the given ByteString which is equal to the
query element, or Nothing if there is no such element. This
implementation uses memchr(3).
O(n) The elemIndex function returns the index of the
first element in the given ByteString which is equal (by
memchr) to the query element, or Nothing if there is no such
element.
O(n) The elemIndex function returns the index of the
first element in the given ShortByteString which is equal to
the query element, or Nothing if there is no such element.
The elemIndex function returns the index of the first element
in the given list which is equal (by ==) to the query element,
or Nothing if there is no such element.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
O(n) Yield Just the index of the first occurence of the
given element or Nothing if the vector does not contain the
element. This is a specialised version of findIndex.
The elemIndex function returns the index of the first element
in the given stream which is equal (by ==) to the query
element,
Beware: elemIndexxxs will diverge if
none of the elements of xs equal x.