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 :: forall (m :: Type -> Type) a o . (Monad m, Eq a) => a -> ConduitT a o m Boolconduit Data.Conduit.Combinators Are no values in the stream equal to the given value? Stops consuming as soon as a match is found. Subject to fusion
-
conduit Data.Conduit.Combinators Are no elements in the chunked stream equal to the given element? Stops consuming as soon as a match is found. Subject to fusion
notElem :: (Foldable t, Eq a) => a -> t a -> Boolhedgehog Hedgehog.Internal.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 *
notElemSubst :: Var -> Subst -> Boolghc GHC.Core.TyCo.Subst No documentation available.
notElemSubst :: Var -> Subst -> Boolghc GHC.Core.Type No documentation available.
notElemSubst :: Var -> Subst -> Boolghc GHC.Plugins No documentation available.
notElem :: (Foldable t, Eq a) => a -> t a -> Boolghc GHC.Prelude.Basic No documentation available.
notElemSubst :: Var -> Subst -> Boolghc GHC.Tc.Utils.TcType No documentation available.
notElem :: (Monad m, Eq a) => a -> Producer a m () -> m Boolpipes Pipes.Prelude (notElem a) returns False if p has an element equal to a, True otherwise
notElem :: Eq a => a -> Fold a Boolfoldl Control.Foldl (notElem a) returns False if the container has an element equal to a, True otherwise