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 :: (Index ix, Source r e) => (e -> Bool) -> Array r ix e -> Boolmassiv Data.Massiv.Array O(n) - Determines whether any element of the array satisfies a predicate.
any :: Monad m => (Word8 -> Bool) -> Producer ByteString m () -> m Boolpipes-bytestring Pipes.ByteString Fold that returns whether Any received Word8s satisfy the predicate
any :: Foldable t => (a -> Bool) -> t a -> Boolprotolude Protolude 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 :: (Char -> Bool) -> JSString -> Booljsaddle Data.JSString O(n) any p t determines whether any character in the JSString t satisifes the predicate p. Subject to fusion.
any :: (Char -> Bool) -> Stream Char -> Booljsaddle 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
any :: Foldable t => (a -> Bool) -> t a -> Boolnumeric-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 *
any :: Foldable t => (a -> Bool) -> t a -> Boolnumeric-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 *
any :: Foldable t => (a -> Bool) -> t a -> Boolnumhask 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 *
any :: Foldable t => (a -> Bool) -> t a -> Boolnumhask 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 *
any :: ListLike full item => (item -> Bool) -> full -> BoolListLike Data.ListLike True if any items satisfy the function