Hoogle Search
Within LTS Haskell 24.6 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
notElem :: (Foldable t, Eq a) => a -> t a -> Boolxmonad-contrib XMonad.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 *
notEmpty :: HasCallStack => [a] -> NonEmpty axmonad-contrib XMonad.Prelude fromList with a better error message. Useful to silence GHC's Pattern match(es) are non-exhaustive warning in places where the programmer knows it's always non-empty, but it's infeasible to express that in the type system.
NotEnoughLines :: [String] -> InvalidRequestwarp Network.Wai.Handler.Warp No documentation available.
NoTestSuitesEnabled :: CabalExceptionCabal Distribution.Simple.Errors No documentation available.
NoTermInTypes :: IsTermInTypesghc GHC.Rename.Unbound No documentation available.
-
ghc GHC.Types.Var Not exported: may be discarded as dead code.
NotEqualButShouldHaveBeenEqualWithDiff :: String -> String -> !Maybe [Diff Text] -> Assertionsydtest Test.Syd Both strings are not equal. The latest argument is a diff between both arguments. If Nothing, the raw values will be displayed instead of the diff.
NotEqualButShouldHaveBeenEqualWithDiff :: String -> String -> !Maybe [Diff Text] -> Assertionsydtest Test.Syd.Run Both strings are not equal. The latest argument is a diff between both arguments. If Nothing, the raw values will be displayed instead of the diff.
-
smallcheck Test.SmallCheck.Drivers No documentation available.
NotEqual :: [String] -> Resultdoctest-lib Test.DocTest.Base No documentation available.