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.

  1. all :: SymVal a => (SBV a -> SBool) -> SList a -> SBool

    sbv 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
    

  2. all :: forall (m :: Type -> Type) a . Monad m => (a -> Bool) -> Fold m a Bool

    streamly-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
    

  3. all :: forall (m :: Type -> Type) a . Monad m => (a -> Bool) -> Fold m a Bool

    streamly-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
    

  4. all :: Monad m => (a -> Bool) -> Stream m a -> m Bool

    streamly-core Streamly.Internal.Data.Stream

    No documentation available.

  5. all :: Monad m => (a -> Bool) -> StreamK m a -> m Bool

    streamly-core Streamly.Internal.Data.StreamK

    No documentation available.

  6. all :: Features

    binaryen Binaryen.Features

    No documentation available.

  7. all :: AsEnumSet a => (a -> Bool) -> EnumSet a -> Bool

    bitwise-enum Data.Enum.Set

    O(n). Check if all elements satisfy some predicate.

  8. all :: (FiniteBits w, Num w, Enum a) => (a -> Bool) -> EnumSet w a -> Bool

    bitwise-enum Data.Enum.Set.Base

    O(n). Check if all elements satisfy some predicate.

  9. all :: [Code]

    ca-province-codes Data.CAProvinceCodes

    A list of every Province/Territory Code.

  10. all :: Foldable t => (a -> Bool) -> t a -> Bool

    calligraphy 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 *
    

Page 21 of many | Previous | Next