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.
any :: (Size size, Storable a) => (a -> Bool) -> Vector size a -> Boolstorablevector Data.StorableVector.Lazy.Typed No documentation available.
any :: TextualMonoid t => (Char -> Bool) -> t -> Boolmonoid-subclasses Data.Monoid.Textual Equivalent to any from Data.List. Ignores all non-character data.
any :: Foldable t => (a -> Bool) -> t a -> BoolCabal-syntax Distribution.Compat.Prelude No documentation available.
any :: (OsChar -> Bool) -> OsString -> Boolos-string System.OsString O(n) Applied to a predicate and a OsString, any determines if any element of the OsString satisfies the predicate.
any :: (Word8 -> Bool) -> ShortByteString -> Boolos-string System.OsString.Data.ByteString.Short O(n) Applied to a predicate and a ShortByteString, any determines if any element of the ShortByteString satisfies the predicate.
any :: (Word16 -> Bool) -> ShortByteString -> Boolos-string System.OsString.Data.ByteString.Short.Word16 O(n) Applied to a predicate and a ByteString, any determines if any element of the ByteString satisfies the predicate.
any :: (OsChar -> Bool) -> OsString -> Boolos-string System.OsString.Internal O(n) Applied to a predicate and a OsString, any determines if any element of the OsString satisfies the predicate.
any :: (PosixChar -> Bool) -> PosixString -> Boolos-string System.OsString.Posix O(n) Applied to a predicate and a OsString, any determines if any element of the OsString satisfies the predicate.
any :: (WindowsChar -> Bool) -> WindowsString -> Boolos-string System.OsString.Windows O(n) Applied to a predicate and a OsString, any determines if any element of the OsString satisfies the predicate.
any :: Foldable t => (a -> Bool) -> t a -> Boolrelude Relude.Foldable.Reexport 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 *