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 :: Storable a => (a -> Bool) -> Vector a -> Boolrebase Rebase.Data.Vector.Storable No documentation available.
any :: Unbox a => (a -> Bool) -> Vector a -> Boolrebase Rebase.Data.Vector.Unboxed No documentation available.
any :: Vector v a => (a -> Bool) -> v a -> Boolfixed-vector Data.Vector.Fixed Determines whether any of element of vector satisfy predicate.
any :: forall (n :: PeanoNum) a . ArityPeano n => (a -> Bool) -> ContVec n a -> Boolfixed-vector Data.Vector.Fixed.Cont Determines whether any of element of vector satisfy predicate.
any :: Foldable t => (a -> Bool) -> t a -> Boolmixed-types-num Numeric.MixedTypes.PreludeHiding 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) -> NonEmptyVector a -> Boolnonempty-vector Data.Vector.NonEmpty O(n) Check if any element satisfies the predicate.
any :: (T name string -> Bool) -> [T name string] -> Boolxml-basic Text.XML.Basic.Attribute No documentation available.
any :: Foldable t => (a -> Bool) -> t a -> BoolLambdaHack Game.LambdaHack.Core.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 -> BoolLambdaHack Game.LambdaHack.Core.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 :: Bits b => (Bool -> Bool) -> b -> Boolbitwise Data.Bits.Bitwise True when the predicate is true for any bit.