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.
all :: Foldable t => (a -> Bool) -> t a -> Boolghc GHC.Prelude.Basic No documentation available.
all :: Monad m => (a -> Bool) -> Producer a m () -> m Boolpipes Pipes.Prelude (all predicate p) determines whether all the elements of p satisfy the predicate.
all :: (a -> Bool) -> Fold a Boolfoldl Control.Foldl (all predicate) returns True if all elements satisfy the predicate, False otherwise
all :: (Word8 -> Bool) -> Fold ByteString Boolfoldl Control.Foldl.ByteString (all predicate) returns True if all bytes satisfy the predicate, False otherwise
all :: (Char -> Bool) -> Fold Text Boolfoldl Control.Foldl.Text (all predicate) returns True if all characters satisfy the predicate, False otherwise
all :: (Char -> Bool) -> ShortText -> Booltext-short Data.Text.Short Test whether all code points in ShortText satisfy a predicate.
>>> all (const False) "" True
>>> all (> 'c') "abcdabcd" False
>>> all (/= 'c') "abdabd" True
all :: (a -> Bool) -> InputStream a -> IO Boolio-streams System.IO.Streams.Combinators all predicate stream returns True if every element in stream matches the predicate. all consumes as few elements as possible, ending consumption if any element fails the predicate.
ghci> is <- Streams.fromList [1, 2, 3] ghci> Streams.all (< 0) is -- Consumes one element False ghci> Streams.read is Just 2 ghci> Streams.all odd is -- Only 3 remains True
all :: MonoFoldable mono => (Element mono -> Bool) -> mono -> Boolmono-traversable Data.MonoTraversable.Unprefixed Synonym for oall
all :: (Word8 -> Bool) -> ByteString -> Boolrio RIO.ByteString O(n) Applied to a predicate and a ByteString, all determines if all elements of the ByteString satisfy the predicate.
all :: (Word8 -> Bool) -> ByteString -> Boolrio RIO.ByteString.Lazy O(n) Applied to a predicate and a ByteString, all determines if all elements of the ByteString satisfy the predicate.