Hoogle Search
Within LTS Haskell 24.40 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
anyOf :: Getting Any s a -> (a -> Bool) -> s -> Booldiagrams-lib Diagrams.Prelude Returns True if any target of a Fold satisfies a predicate.
>>> anyOf both (=='x') ('x','y') True >>> import Data.Data.Lens >>> anyOf biplate (== "world") (((),2::Int),"hello",("world",11::Int)) Trueany ≡ anyOf folded
ianyOf l ≡ anyOf l . Indexed
anyOf :: Getter s a -> (a -> Bool) -> s -> Bool anyOf :: Fold s a -> (a -> Bool) -> s -> Bool anyOf :: Lens' s a -> (a -> Bool) -> s -> Bool anyOf :: Iso' s a -> (a -> Bool) -> s -> Bool anyOf :: Traversal' s a -> (a -> Bool) -> s -> Bool anyOf :: Prism' s a -> (a -> Bool) -> s -> Bool
anyChar :: CharParsing m => m CharCabal-syntax Distribution.Compat.CharParsing This parser succeeds for any character. Returns the parsed character.
anyPkgconfigVersion :: PkgconfigVersionRangeCabal-syntax Distribution.Types.PkgconfigVersionRange No documentation available.
-
Cabal-syntax Distribution.Types.VersionRange The version range -any. That is, a version range containing all versions.
withinRange v anyVersion = True
-
Cabal-syntax Distribution.Types.VersionRange.Internal The version range -any. That is, a version range containing all versions.
withinRange v anyVersion = True
-
Cabal-syntax Distribution.Version The version range -any. That is, a version range containing all versions.
withinRange v anyVersion = True
anyErrorToLeft :: a -> Either String aleancheck Test.LeanCheck.Error Transforms a value into Right that value or 'Left String' on error. Only the first line of the error's string representation is included. This function uses unsafePerformIO. See: errorToLeft.
anyErrorToNothing :: a -> Maybe aleancheck Test.LeanCheck.Error Transforms a value into Just that value or Nothing on error.
anyS :: Selective f => (a -> f Bool) -> [a] -> f Boolselective Control.Selective A lifted version of any. Retains the short-circuiting behaviour.
anyM :: (Foldable f, Monad m) => (a -> m Bool) -> f a -> m Boolrelude Relude.Foldable.Fold Monadic version of any.
>>> anyM (readMaybe >=> pure . even) ["5", "10"] Just True >>> anyM (readMaybe >=> pure . even) ["10", "aba"] Just True >>> anyM (readMaybe >=> pure . even) ["aba", "10"] Nothing