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 :: (a -> Bool) -> Vector a -> Boolrebase Rebase.Data.Vector No documentation available.
all :: Vector v a => (a -> Bool) -> v a -> Boolrebase Rebase.Data.Vector.Generic No documentation available.
all :: Prim a => (a -> Bool) -> Vector a -> Boolrebase Rebase.Data.Vector.Primitive No documentation available.
all :: Storable a => (a -> Bool) -> Vector a -> Boolrebase Rebase.Data.Vector.Storable No documentation available.
all :: Unbox a => (a -> Bool) -> Vector a -> Boolrebase Rebase.Data.Vector.Unboxed No documentation available.
all :: AlphabetSpec -> !Set Characterelynx-seq ELynx.Alphabet.Alphabet All characters in the alphabet.
all :: Vector v a => (a -> Bool) -> v a -> Boolfixed-vector Data.Vector.Fixed Determines whether all elements of vector satisfy predicate.
all :: forall (n :: PeanoNum) a . ArityPeano n => (a -> Bool) -> ContVec n a -> Boolfixed-vector Data.Vector.Fixed.Cont Determines whether all elements of vector satisfy predicate.
all :: Foldable t => (a -> Bool) -> t a -> Boolmixed-types-num Numeric.MixedTypes.PreludeHiding 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 :: (a -> Bool) -> NonEmptyVector a -> Boolnonempty-vector Data.Vector.NonEmpty O(n) Check if all elements satisfy the predicate.