Hoogle Search

Within LTS Haskell 24.38 (ghc-9.10.3)

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

  1. any :: forall (v :: Type -> Type) a (n :: Nat) . Vector v a => (a -> Bool) -> Vector v n a -> Bool

    vector-sized Data.Vector.Generic.Sized

    O(n) Check if any element satisfies the predicate.

  2. any :: forall a (n :: Nat) . Prim a => (a -> Bool) -> Vector n a -> Bool

    vector-sized Data.Vector.Primitive.Sized

    O(n) Check if any element satisfies the predicate.

  3. any :: forall a (n :: Nat) . (a -> Bool) -> Vector n a -> Bool

    vector-sized Data.Vector.Sized

    O(n) Check if any element satisfies the predicate.

  4. any :: forall a (n :: Nat) . Storable a => (a -> Bool) -> Vector n a -> Bool

    vector-sized Data.Vector.Storable.Sized

    O(n) Check if any element satisfies the predicate.

  5. any :: forall a (n :: Nat) . Unbox a => (a -> Bool) -> Vector n a -> Bool

    vector-sized Data.Vector.Unboxed.Sized

    O(n) Check if any element satisfies the predicate.

  6. any :: (Word8 -> Bool) -> Bytes -> Bool

    byteslice Data.Bytes

    O(n) Returns true if any byte in the sequence satisfies the predicate.

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

    ghc-internal GHC.Internal.Data.Foldable

    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

    ghc-internal GHC.Internal.Data.List

    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 :: (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 *
    

  10. 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 *
    

Page 15 of many | Previous | Next