Hoogle Search
Within LTS Haskell 24.25 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
notElem :: (Foldable t, Eq a) => a -> t a -> Boolxmonad-contrib XMonad.Prelude notElem is the negation of elem.
Examples
Basic usage:>>> 3 `notElem` [] True
>>> 3 `notElem` [1,2] True
>>> 3 `notElem` [1,2,3,4,5] False
For infinite structures, notElem terminates if the value exists at a finite distance from the left side of the structure:>>> 3 `notElem` [1..] False
>>> 3 `notElem` ([4..] ++ [3]) * Hangs forever *
(
∈ ) :: (Foldable t, Eq α) => α -> t α -> Boolbase-unicode-symbols Data.Foldable.Unicode (∈) = elem U+2208, ELEMENT OF
(
∉ ) :: (Foldable t, Eq α) => α -> t α -> Boolbase-unicode-symbols Data.Foldable.Unicode (∉) = notElem U+2209, NOT AN ELEMENT OF
elem :: (Vector v a, Eq a) => a -> v a -> Boolrio RIO.Vector No documentation available.
notElem :: (Vector v a, Eq a) => a -> v a -> Boolrio RIO.Vector No documentation available.
elem :: (Vector v a, Eq a) => a -> v a -> Boolrebase Rebase.Data.Vector.Generic No documentation available.
notElem :: (Vector v a, Eq a) => a -> v a -> Boolrebase Rebase.Data.Vector.Generic No documentation available.
in_ :: SqlIn expr a => a -> [a] -> expr Boolbeam-core Database.Beam.Query SQL IN predicate
elemIndex :: (C n, Eq a) => a -> [a] -> Maybe nnumeric-prelude NumericPrelude.List.Generic No documentation available.
genericElemIndex :: (Eq a, Integral i) => a -> [a] -> Maybe iAgda Agda.Utils.List A generalised variant of elemIndex. O(n).