elem package:vector

O(n) Check if the vector contains an element.
Check whether the Bundle contains an element
Check whether the Bundle contains an element
O(n) Check if the vector contains an element.
O(n) Check if the vector contains an element.
O(n) Check if the vector contains an element.
O(n) Check if the vector contains an element.
O(n) Yield Just the index of the first occurrence of the given element or Nothing if the vector does not contain the element. This is a specialised version of findIndex.
O(n) Yield the indices of all occurrences of the given element in ascending order. This is a specialised version of findIndices.
O(n) Yield Just the index of the first occurrence of the given element or Nothing if the vector does not contain the element. This is a specialised version of findIndex.
O(n) Yield the indices of all occurrences of the given element in ascending order. This is a specialised version of findIndices.
Evaluate a as far as storing it in a vector would and yield b. The v a argument only fixes the type and is not touched. This method is only used for optimisation purposes. Thus, it is safe for instances of Vector to evaluate a less than it would be when stored in a vector, although this might result in suboptimal code.
elemseq v x y = (singleton x `asTypeOf` v) `seq` y
Default definition: a is not evaluated at all.
O(n) Yield Just the index of the first occurrence of the given element or Nothing if the vector does not contain the element. This is a specialised version of findIndex.
O(n) Yield the indices of all occurrences of the given element in ascending order. This is a specialised version of findIndices.
O(n) Yield Just the index of the first occurrence of the given element or Nothing if the vector does not contain the element. This is a specialised version of findIndex.
O(n) Yield the indices of all occurrences of the given element in ascending order. This is a specialised version of findIndices.
O(n) Yield Just the index of the first occurrence of the given element or Nothing if the vector does not contain the element. This is a specialised version of findIndex.
O(n) Yield the indices of all occurrences of the given element in ascending order. This is a specialised version of findIndices.
O(n) Check if the vector does not contain an element (inverse of elem).
Inverse of elem
Inverse of elem