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 -> 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.
all :: Storable a => (a -> Bool) -> Vector a -> Boolstorablevector Data.StorableVector O(n) Applied to a predicate and a Vector, all determines if all elements of the Vector satisfy the predicate.
all :: Storable a => (a -> Bool) -> Vector a -> Boolstorablevector Data.StorableVector.Lazy No documentation available.