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. any :: (a -> Bool) -> [a] -> Bool

    ghc-internal GHC.Internal.Data.OldList

    Applied to a predicate and a list, any determines if any element of the list satisfies the predicate. For the result to be False, the list must be finite; True, however, results from a True value for the predicate applied to an element at a finite index of a finite or infinite list.

    Examples

    >>> any (> 3) []
    False
    
    >>> any (> 3) [1,2]
    False
    
    >>> any (> 3) [1,2,3,4,5]
    True
    
    >>> any (> 3) [1..]
    True
    
    >>> any (> 3) [0, -1..]
    * Hangs forever *
    

  2. any :: (a -> Bool) -> [a] -> Bool

    ghc-internal GHC.Internal.List

    Applied to a predicate and a list, any determines if any element of the list satisfies the predicate. For the result to be False, the list must be finite; True, however, results from a True value for the predicate applied to an element at a finite index of a finite or infinite list.

    Examples

    >>> any (> 3) []
    False
    
    >>> any (> 3) [1,2]
    False
    
    >>> any (> 3) [1,2,3,4,5]
    True
    
    >>> any (> 3) [1..]
    True
    
    >>> any (> 3) [0, -1..]
    * Hangs forever *
    

  3. any :: (Char -> Bool) -> JSString -> Bool

    jsaddle Data.JSString

    O(n) any p t determines whether any character in the JSString t satisifes the predicate p. Subject to fusion.

  4. any :: (Char -> Bool) -> Stream Char -> Bool

    jsaddle Data.JSString.Internal.Fusion.Common

    O(n) any p xs determines if any character in the stream xs satisfies the predicate p. Properties

    any f . stream = any f
    

  5. any :: Foldable t => (a -> Bool) -> t a -> Bool

    numeric-prelude NumericPrelude

    Determines whether any element of the structure satisfies the predicate.

    Examples

    Basic usage:
    >>> any (> 3) []
    False
    
    >>> any (> 3) [1,2]
    False
    
    >>> any (> 3) [1,2,3,4,5]
    True
    
    >>> any (> 3) [1..]
    True
    
    >>> any (> 3) [0, -1..]
    * Hangs forever *
    

  6. any :: Foldable t => (a -> Bool) -> t a -> Bool

    numeric-prelude NumericPrelude.Base

    Determines whether any element of the structure satisfies the predicate.

    Examples

    Basic usage:
    >>> any (> 3) []
    False
    
    >>> any (> 3) [1,2]
    False
    
    >>> any (> 3) [1,2,3,4,5]
    True
    
    >>> any (> 3) [1..]
    True
    
    >>> any (> 3) [0, -1..]
    * Hangs forever *
    

  7. any :: Foldable t => (a -> Bool) -> t a -> Bool

    numhask NumHask.Prelude

    Determines whether any element of the structure satisfies the predicate.

    Examples

    Basic usage:
    >>> any (> 3) []
    False
    
    >>> any (> 3) [1,2]
    False
    
    >>> any (> 3) [1,2,3,4,5]
    True
    
    >>> any (> 3) [1..]
    True
    
    >>> any (> 3) [0, -1..]
    * Hangs forever *
    

  8. any :: Foldable t => (a -> Bool) -> t a -> Bool

    numhask NumHask.Prelude

    Determines whether any element of the structure satisfies the predicate.

    Examples

    Basic usage:
    >>> any (> 3) []
    False
    
    >>> any (> 3) [1,2]
    False
    
    >>> any (> 3) [1,2,3,4,5]
    True
    
    >>> any (> 3) [1..]
    True
    
    >>> any (> 3) [0, -1..]
    * Hangs forever *
    

  9. any :: ListLike full item => (item -> Bool) -> full -> Bool

    ListLike Data.ListLike

    True if any items satisfy the function

  10. any :: ListLike full item => (item -> Bool) -> full -> Bool

    ListLike Data.ListLike.Base

    True if any items satisfy the function

Page 16 of many | Previous | Next