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 :: (MonoFoldable mono, Eq (Element mono)) => Element mono -> mono -> Boolmono-traversable Data.MonoTraversable.Unprefixed Synonym for onotElem
notElem :: Word8 -> ByteString -> Boolrio RIO.ByteString notElem :: Word8 -> ByteString -> Boolrio RIO.ByteString.Lazy notElem :: (Foldable t, Eq a) => a -> t a -> Boolrio RIO.List 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 *
notElem :: (Foldable t, Eq a) => a -> t a -> Boolrio RIO.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 *
notElem :: (Vector v a, Eq a) => a -> v a -> Boolrio RIO.Vector No documentation available.
notElem :: Eq a => a -> Vector a -> Boolrio RIO.Vector.Boxed No documentation available.
notElem :: (Storable a, Eq a) => a -> Vector a -> Boolrio RIO.Vector.Storable No documentation available.
notElem :: (Unbox a, Eq a) => a -> Vector a -> Boolrio RIO.Vector.Unboxed No documentation available.
noteT :: forall (m :: Type -> Type) a b . Monad m => a -> MaybeT m b -> ExceptT a m berrors Control.Error.Util