Hoogle Search
Within LTS Haskell 24.45 (ghc-9.10.3)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
anyToAddr# :: a -> State# RealWorld -> (# State# RealWorld, Addr# #)ghc-prim GHC.Prim Retrieve the address of any Haskell value. This is essentially an unsafeCoerce#, but if implemented as such the core lint pass complains and fails to compile. As a primop, it is opaque to core/stg, and only appears in cmm (where the copy propagation pass will get rid of it). Note that "a" must be a value, not a thunk! It's too late for strictness analysis to enforce this, so you're on your own to guarantee this. Also note that Addr# is not a GC pointer - up to you to guarantee that it does not become a dangling pointer immediately after you get it.
anyToAddr# :: a -> State# RealWorld -> (# State# RealWorld, Addr# #)ghc-prim GHC.PrimopWrappers No documentation available.
anyOf :: Getting Any s a -> (a -> Bool) -> s -> Boollens Control.Lens.Combinators 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
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.