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 :: SymVal a => (SBV a -> SBool) -> SList a -> SBoolsbv Data.SBV.List Check all elements satisfy the predicate.
>>> let isEven x = x `sMod` 2 .== 0 >>> all isEven [2, 4, 6, 8, 10 :: Integer] True >>> all isEven [2, 4, 6, 1, 8, 10 :: Integer] False
all :: forall (m :: Type -> Type) a . Monad m => (a -> Bool) -> Fold m a Boolstreamly-core Streamly.Data.Fold Returns True if all elements of the input satisfy the predicate. Definition:
>>> all p = Fold.lmap p Fold.and
Example:>>> Stream.fold (Fold.all (== 0)) $ Stream.fromList [1,0,1] False
all :: forall (m :: Type -> Type) a . Monad m => (a -> Bool) -> Fold m a Boolstreamly-core Streamly.Internal.Data.Fold Returns True if all elements of the input satisfy the predicate. Definition:
>>> all p = Fold.lmap p Fold.and
Example:>>> Stream.fold (Fold.all (== 0)) $ Stream.fromList [1,0,1] False
all :: Monad m => (a -> Bool) -> Stream m a -> m Boolstreamly-core Streamly.Internal.Data.Stream No documentation available.
all :: Monad m => (a -> Bool) -> StreamK m a -> m Boolstreamly-core Streamly.Internal.Data.StreamK No documentation available.
-
binaryen Binaryen.Features No documentation available.
all :: AsEnumSet a => (a -> Bool) -> EnumSet a -> Boolbitwise-enum Data.Enum.Set O(n). Check if all elements satisfy some predicate.
all :: (FiniteBits w, Num w, Enum a) => (a -> Bool) -> EnumSet w a -> Boolbitwise-enum Data.Enum.Set.Base O(n). Check if all elements satisfy some predicate.
-
ca-province-codes Data.CAProvinceCodes A list of every Province/Territory Code.
all :: Foldable t => (a -> Bool) -> t a -> Boolcalligraphy Calligraphy.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 *