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.
-
binaryen Binaryen.SideEffects No documentation available.
any :: AsEnumSet a => (a -> Bool) -> EnumSet a -> Boolbitwise-enum Data.Enum.Set O(n). Check if any element satisfies some predicate.
any :: (FiniteBits w, Num w, Enum a) => (a -> Bool) -> EnumSet w a -> Boolbitwise-enum Data.Enum.Set.Base O(n). Check if any element satisfies some predicate.
any :: Foldable t => (a -> Bool) -> t a -> Boolcalligraphy Calligraphy.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 -> Boolclash-prelude Clash.HaskellPrelude 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 :: (Boolean b, Foldable t) => (a -> b) -> t a -> bcond Data.Algebra.Boolean The logical disjunction of the mapping of a function over several values.
any :: Foldable t => (a -> Bool) -> t a -> Booldimensional Numeric.Units.Dimensional.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 -> Booldistribution-opensuse OpenSuse.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 :: (Boolean b, Foldable t) => (a -> b) -> t a -> bersatz Ersatz.Bit The logical disjunction of the mapping of a function over several values.
-
invertible Data.Invertible.Monoid (Un)wrap the Any monoid.