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.

  1. anyOf :: Getting Any s a -> (a -> Bool) -> s -> Bool

    diagrams-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))
    True
    
    anyanyOf 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
    

  2. anyChar :: CharParsing m => m Char

    Cabal-syntax Distribution.Compat.CharParsing

    This parser succeeds for any character. Returns the parsed character.

  3. anyPkgconfigVersion :: PkgconfigVersionRange

    Cabal-syntax Distribution.Types.PkgconfigVersionRange

    No documentation available.

  4. anyVersion :: VersionRange

    Cabal-syntax Distribution.Types.VersionRange

    The version range -any. That is, a version range containing all versions.

    withinRange v anyVersion = True
    

  5. anyVersion :: VersionRange

    Cabal-syntax Distribution.Types.VersionRange.Internal

    The version range -any. That is, a version range containing all versions.

    withinRange v anyVersion = True
    

  6. anyVersion :: VersionRange

    Cabal-syntax Distribution.Version

    The version range -any. That is, a version range containing all versions.

    withinRange v anyVersion = True
    

  7. anyErrorToLeft :: a -> Either String a

    leancheck 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.

  8. anyErrorToNothing :: a -> Maybe a

    leancheck Test.LeanCheck.Error

    Transforms a value into Just that value or Nothing on error.

  9. anyS :: Selective f => (a -> f Bool) -> [a] -> f Bool

    selective Control.Selective

    A lifted version of any. Retains the short-circuiting behaviour.

  10. anyM :: (Foldable f, Monad m) => (a -> m Bool) -> f a -> m Bool

    relude 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
    

Page 53 of many | Previous | Next