Hoogle Search
Within LTS Haskell 24.32 (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 -> Boollens Control.Lens.Fold 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
anyToken :: forall s (m :: Type -> Type) t u . (Stream s m t, Show t) => ParsecT s u m tparsec Text.Parsec The parser anyToken accepts any kind of token. It is for example used to implement eof. Returns the accepted token.
anyChar :: forall s (m :: Type -> Type) u . Stream s m Char => ParsecT s u m Charparsec Text.Parsec.Char This parser succeeds for any character. Returns the parsed character.
anyToken :: forall s (m :: Type -> Type) t u . (Stream s m t, Show t) => ParsecT s u m tparsec Text.Parsec.Combinator The parser anyToken accepts any kind of token. It is for example used to implement eof. Returns the accepted token.
anyChar :: forall s (m :: Type -> Type) u . Stream s m Char => ParsecT s u m Charparsec Text.ParserCombinators.Parsec.Char This parser succeeds for any character. Returns the parsed character.
anyToken :: forall s (m :: Type -> Type) t u . (Stream s m t, Show t) => ParsecT s u m tparsec Text.ParserCombinators.Parsec.Combinator The parser anyToken accepts any kind of token. It is for example used to implement eof. Returns the accepted token.
anyC :: forall (m :: Type -> Type) a o . Monad m => (a -> Bool) -> ConduitT a o m Boolconduit Conduit Check that at least one value in the stream returns True. Subject to shortcut logic: at the first True, consumption of the stream will stop.
-
conduit Conduit Check that at least one element in the chunked stream returns True. Subject to shortcut logic: at the first True, consumption of the stream will stop.
-
conduit Data.Conduit.Combinators Check that at least one element in the chunked stream returns True. Subject to shortcut logic: at the first True, consumption of the stream will stop. Subject to fusion
anyS :: forall (m :: Type -> Type) a . Monad m => (a -> Bool) -> StreamConsumer a m Boolconduit Data.Conduit.Combinators.Stream No documentation available.