Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
notElem :: (Monad m, Eq a) => a -> Stream m a -> m Boolrebase Rebase.Data.Vector.Fusion.Stream.Monadic Inverse of elem
notElem :: (Vector v a, Eq a) => a -> v a -> Boolrebase Rebase.Data.Vector.Generic No documentation available.
notElem :: (Prim a, Eq a) => a -> Vector a -> Boolrebase Rebase.Data.Vector.Primitive No documentation available.
notElem :: (Storable a, Eq a) => a -> Vector a -> Boolrebase Rebase.Data.Vector.Storable No documentation available.
notElem :: (Unbox a, Eq a) => a -> Vector a -> Boolrebase Rebase.Data.Vector.Unboxed No documentation available.
notEqual :: (Eq a, Show a) => a -> a -> Assertionchell Test.Chell Assert that two values are not equal.
notes :: CliOpts -> Journal -> IO ()hledger Hledger.Cli.Commands.Notes The notes command.
-
hledger Hledger.Cli.Commands.Notes Command line options for this command.
notEqualTo :: HasEqAsymmetric a b => a -> b -> EqCompareType a bmixed-types-num Numeric.MixedTypes.Eq No documentation available.
notElem :: (Foldable t, Eq a) => a -> t a -> Boolmixed-types-num Numeric.MixedTypes.PreludeHiding 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 *