Hoogle Search
Within LTS Haskell 22.20 (ghc-9.6.4)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
notElem :: Eq a => a -> [a] -> Boolbase GHC.OldList notElem is the negation of elem.
>>> 3 `notElem` [] True >>> 3 `notElem` [1,2] True >>> 3 `notElem` [1,2,3,4,5] False >>> 3 `notElem` [1..] False >>> 3 `notElem` [4..] * Hangs forever *
elem :: Eq a => a -> [a] -> Boolprelude-compat Data.List2010 No documentation available.
notElem :: Eq a => a -> [a] -> Boolprelude-compat Data.List2010 No documentation available.
elem :: Eq a => a -> [a] -> Boolprelude-compat Prelude2010 No documentation available.
notElem :: Eq a => a -> [a] -> Boolprelude-compat Prelude2010 No documentation available.
(
∈ ) :: Eq α => α -> [α] -> Boolbase-unicode-symbols Data.List.Unicode (∈) = elem U+2208, ELEMENT OF
(
∉ ) :: Eq α => α -> [α] -> Boolbase-unicode-symbols Data.List.Unicode (∉) = notElem U+2209, NOT AN ELEMENT OF
(
∈ ) :: Eq α => α -> [α] -> Boolbase-unicode-symbols Prelude.Unicode (∈) = elem U+2208, ELEMENT OF
(
∉ ) :: Eq α => α -> [α] -> Boolbase-unicode-symbols Prelude.Unicode (∉) = notElem U+2209, NOT AN ELEMENT OF
member :: Ord a => a -> [a] -> Booldata-ordlist Data.List.Ordered The member function returns True if the element appears in the ordered list.