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.
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.
all :: Foldable t => (a -> Bool) -> t a -> Boolrio RIO.List Determines whether all elements of the structure satisfy the predicate.
Examples
Basic usage:>>> all (> 3) [] True
>>> all (> 3) [1,2] False
>>> all (> 3) [1,2,3,4,5] False
>>> all (> 3) [1..] False
>>> all (> 3) [4..] * Hangs forever *
all :: Foldable t => (a -> Bool) -> t a -> Boolrio RIO.Prelude Determines whether all elements of the structure satisfy the predicate.
Examples
Basic usage:>>> all (> 3) [] True
>>> all (> 3) [1,2] False
>>> all (> 3) [1,2,3,4,5] False
>>> all (> 3) [1..] False
>>> all (> 3) [4..] * Hangs forever *
all :: (Char -> Bool) -> Text -> Boolrio RIO.Text O(n) all p t determines whether all characters in the Text t satisfy the predicate p.
all :: (Char -> Bool) -> Text -> Boolrio RIO.Text.Lazy O(n) all p t determines whether all characters in the Text t satisfy the predicate p.
all :: Vector v a => (a -> Bool) -> v a -> Boolrio RIO.Vector No documentation available.
all :: (a -> Bool) -> Vector a -> Boolrio RIO.Vector.Boxed No documentation available.
all :: Storable a => (a -> Bool) -> Vector a -> Boolrio RIO.Vector.Storable No documentation available.
all :: Unbox a => (a -> Bool) -> Vector a -> Boolrio RIO.Vector.Unboxed No documentation available.