Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
notElem :: Eq a => a -> [a] -> Boolbase GHC.List notElem is the negation of elem.
Examples
>>> 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 *
notElem :: Word8 -> ByteString -> Boolbytestring Data.ByteString notElem :: Char -> ByteString -> Boolbytestring Data.ByteString.Char8 notElem :: Word8 -> ByteString -> Boolbytestring Data.ByteString.Lazy notElem :: Char -> ByteString -> Boolbytestring Data.ByteString.Lazy.Char8 noteOutliers :: Outliers -> Criterion ()criterion Criterion.Analysis notElemOf :: Eq a => Getting All s a -> a -> s -> Boollens Control.Lens.Combinators Does the element not occur anywhere within a given Fold of the structure?
>>> notElemOf each 'd' ('a','b','c') True
>>> notElemOf each 'a' ('a','b','c') False
notElem ≡ notElemOf folded
notElemOf :: Eq a => Getter s a -> a -> s -> Bool notElemOf :: Eq a => Fold s a -> a -> s -> Bool notElemOf :: Eq a => Iso' s a -> a -> s -> Bool notElemOf :: Eq a => Lens' s a -> a -> s -> Bool notElemOf :: Eq a => Traversal' s a -> a -> s -> Bool notElemOf :: Eq a => Prism' s a -> a -> s -> Bool
notElemOf :: Eq a => Getting All s a -> a -> s -> Boollens Control.Lens.Fold Does the element not occur anywhere within a given Fold of the structure?
>>> notElemOf each 'd' ('a','b','c') True
>>> notElemOf each 'a' ('a','b','c') False
notElem ≡ notElemOf folded
notElemOf :: Eq a => Getter s a -> a -> s -> Bool notElemOf :: Eq a => Fold s a -> a -> s -> Bool notElemOf :: Eq a => Iso' s a -> a -> s -> Bool notElemOf :: Eq a => Lens' s a -> a -> s -> Bool notElemOf :: Eq a => Traversal' s a -> a -> s -> Bool notElemOf :: Eq a => Prism' s a -> a -> s -> Bool
notElemC :: forall (m :: Type -> Type) a o . (Monad m, Eq a) => a -> ConduitT a o m Boolconduit Conduit Are no values in the stream equal to the given value? Stops consuming as soon as a match is found.
-
conduit Conduit Are no elements in the chunked stream equal to the given element? Stops consuming as soon as a match is found.