Hoogle Search
Within LTS Haskell 24.34 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
all :: (Char -> Bool) -> String -> Boolbasement Basement.String No documentation available.
all :: PrimType ty => (ty -> Bool) -> UArray ty -> Boolbasement Basement.UArray No documentation available.
all :: forall (v :: Type -> Type) a (n :: Nat) . Vector v a => (a -> Bool) -> Vector v n a -> Boolvector-sized Data.Vector.Generic.Sized O(n) Check if all elements satisfy the predicate.
all :: forall a (n :: Nat) . Prim a => (a -> Bool) -> Vector n a -> Boolvector-sized Data.Vector.Primitive.Sized O(n) Check if all elements satisfy the predicate.
all :: forall a (n :: Nat) . (a -> Bool) -> Vector n a -> Boolvector-sized Data.Vector.Sized O(n) Check if all elements satisfy the predicate.
all :: forall a (n :: Nat) . Storable a => (a -> Bool) -> Vector n a -> Boolvector-sized Data.Vector.Storable.Sized O(n) Check if all elements satisfy the predicate.
all :: forall a (n :: Nat) . Unbox a => (a -> Bool) -> Vector n a -> Boolvector-sized Data.Vector.Unboxed.Sized O(n) Check if all elements satisfy the predicate.
all :: (Word8 -> Bool) -> Bytes -> Boolbyteslice Data.Bytes O(n) Returns true if all bytes in the sequence satisfy the predicate.
all :: Foldable t => (a -> Bool) -> t a -> Boolghc-internal GHC.Internal.Data.Foldable 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 -> Boolghc-internal GHC.Internal.Data.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 *