Hoogle Search
Within LTS Haskell 24.2 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
for :: AttributeValue -> Attributeblaze-html Text.Blaze.XHtml5.Attributes Combinator for the for attribute. Example:
div ! for "bar" $ "Hello."
Result:<div for="bar">Hello.</div>
-
pipes Pipes (for p body) loops over p replacing each yield with body.
for :: Functor m => Producer b m r -> (b -> Effect m ()) -> Effect m r for :: Functor m => Producer b m r -> (b -> Producer c m ()) -> Producer c m r for :: Functor m => Pipe x b m r -> (b -> Consumer x m ()) -> Consumer x m r for :: Functor m => Pipe x b m r -> (b -> Pipe x c m ()) -> Pipe x c m r
The following diagrams show the flow of information:.---> b / | +-----------+ / +-----|-----+ +---------------+ | | / | v | | | | | / | | | | x ==> p ==> b ---' x ==> body ==> c = x ==> for p body ==> c | | | | | | | | | | | | | | | +-----|-----+ +-----|-----+ +-------|-------+ v v v r () r
For a more complete diagram including bidirectional flow, see Pipes.Core#respond-diagram. for :: (Traversable t, Applicative f) => t a -> (a -> f b) -> f (t b)rio RIO.Prelude for is traverse with its arguments flipped. For a version that ignores the results see for_.
for :: Monad m => Int -> Int -> (Int -> m ()) -> m ()statistics Statistics.Function Simple for loop. Counts from start to end-1.
for :: (Traversable t, Applicative f) => t a -> (a -> f b) -> f (t b)Cabal-syntax Distribution.Compat.Prelude No documentation available.
-
streaming Streaming.Prelude for replaces each element of a stream with an associated stream. Note that the associated stream may layer any functor.
-
crypto-api Crypto.Util Obtain a tagged value for a particular instantiated type.
for :: (Traversable t, Applicative f) => t a -> (a -> f b) -> f (t b)ghc-internal GHC.Internal.Data.Traversable for is traverse with its arguments flipped. For a version that ignores the results see for_.
for :: (Traversable t, Applicative f) => t a -> (a -> f b) -> f (t b)basic-prelude BasicPrelude for is traverse with its arguments flipped. For a version that ignores the results see for_.
for :: (Traversable t, Applicative f) => t a -> (a -> f b) -> f (t b)classy-prelude ClassyPrelude for is traverse with its arguments flipped. For a version that ignores the results see for_.