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.
any :: forall ty (n :: Nat) . PrimType ty => (ty -> Bool) -> BlockN n ty -> Boolbasement Basement.Sized.Block No documentation available.
any :: forall ty (n :: Nat) . PrimType ty => (ty -> Bool) -> UVect n ty -> Boolbasement Basement.Sized.UVect No documentation available.
any :: forall ty (n :: Nat) . (ty -> Bool) -> Vect n ty -> Boolbasement Basement.Sized.Vect No documentation available.
any :: (Char -> Bool) -> String -> Boolbasement Basement.String No documentation available.
any :: PrimType ty => (ty -> Bool) -> UArray ty -> Boolbasement Basement.UArray No documentation available.
any :: (Word8 -> Bool) -> Bytes -> Boolbyteslice Data.Bytes O(n) Returns true if any byte in the sequence satisfies the predicate.
any :: Foldable t => (a -> Bool) -> t a -> Boolghc-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 *
any :: Foldable t => (a -> Bool) -> t a -> Boolghc-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 *
any :: (a -> Bool) -> [a] -> Boolghc-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 *
any :: (a -> Bool) -> [a] -> Boolghc-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 *