Hoogle Search

Within LTS Haskell 24.5 (ghc-9.10.2)

Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.

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

    basic-prelude BasicPrelude

    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 *
    

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

    ghc-lib-parser GHC.Prelude.Basic

    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 *
    

  3. any :: 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 some element matches the given predicate.

    >>> [1, 2, 3] `shouldSatisfy` P.any (P.eq 1)
    

  4. any :: 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 some element matches the given predicate.

    >>> [1, 2, 3] `shouldSatisfy` P.any (P.eq 1)
    

  5. any :: e -> Parser e s Word8

    bytesmith Data.Bytes.Parser

    Consumes and returns the next byte in the input. Fails if no characters are left.

  6. any :: e -> Parser e s Char

    bytesmith Data.Bytes.Parser.Ascii

    Consumes and returns the next character in the input.

  7. any :: e -> Parser e s Char

    bytesmith Data.Bytes.Parser.Latin

    Consumes and returns the next character in the input.

  8. any :: (Contiguous arr, Element arr a) => (a -> Bool) -> arr a -> Bool

    contiguous Data.Primitive.Contiguous

    No documentation available.

  9. any :: Collection c => (Element c -> Bool) -> c -> Bool

    foundation Foundation

    Determine is any elements of the collection satisfy the predicate

  10. any :: Collection c => (Element c -> Bool) -> c -> Bool

    foundation Foundation.Collection

    Determine is any elements of the collection satisfy the predicate

Page 17 of many | Previous | Next