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.

  1. all :: ListLike full item => (item -> Bool) -> full -> Bool

    ListLike Data.ListLike.Base

    True if all items satisfy the function

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

    basic-prelude BasicPrelude

    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 *
    

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

    ghc-lib-parser GHC.Prelude.Basic

    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 *
    

  4. all :: forall t (m :: Type -> Type) a . (Foldable t, Monad m) => Predicate m a -> Predicate m (t a)

    skeletest Skeletest.Internal.Predicate

    A predicate checking if the input is a list-like type where all elements match the given predicate.

    >>> [1, 2, 3] `shouldSatisfy` P.all (P.gt 0)
    

  5. all :: forall t (m :: Type -> Type) a . (Foldable t, Monad m) => Predicate m a -> Predicate m (t a)

    skeletest Skeletest.Predicate

    A predicate checking if the input is a list-like type where all elements match the given predicate.

    >>> [1, 2, 3] `shouldSatisfy` P.all (P.gt 0)
    

  6. all :: (Contiguous arr, Element arr a) => (a -> Bool) -> arr a -> Bool

    contiguous Data.Primitive.Contiguous

    No documentation available.

  7. all :: Collection c => (Element c -> Bool) -> c -> Bool

    foundation Foundation

    Determine is all elements of the collection satisfy the predicate

  8. all :: Collection c => (Element c -> Bool) -> c -> Bool

    foundation Foundation.Collection

    Determine is all elements of the collection satisfy the predicate

  9. all :: (a -> Bool) -> [a] -> Bool

    prelude-compat Data.List2010

    No documentation available.

  10. all :: (a -> Bool) -> [a] -> Bool

    prelude-compat Prelude2010

    No documentation available.

Page 18 of many | Previous | Next