forM -package:clay
base Control.Monad Data.Traversable,
base-compat Control.Monad.Compat,
relude Relude.Foldable.Reexport,
rio RIO.Prelude,
base-prelude BasePrelude,
classy-prelude ClassyPrelude,
universum Universum.Base,
ihaskell IHaskellPrelude,
base-compat-batteries Control.Monad.Compat,
Agda Agda.Utils.Monad,
ghc-internal GHC.Internal.Control.Monad GHC.Internal.Data.Traversable,
rebase Rebase.Prelude,
massiv-test Test.Massiv.Utils,
incipit-base Incipit.Base forM is
mapM with its arguments flipped. For a version
that ignores the results see
forM_.
Combinator for the
<form> element.
Example:
form $ span $ toHtml "foo"
Result:
<form><span>foo</span></form>
Combinator for the
form attribute.
Example:
div ! form "bar" $ "Hello."
Result:
<div form="bar">Hello.</div>
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equivalent to
flip mapM.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equivalent to
flip mapM.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equivalent to
flip mapM.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equivalent to
flip mapM.
forM is
mapM with its arguments flipped. For a version
that ignores its results, see
forM_.
Like
forM, but applying the function to the individual list
items in parallel.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equvalent to
flip mapM.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equvalent to
flip mapM.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equvalent to
flip mapM.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equvalent to
flip mapM.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equvalent to
flip mapM.
Same as
mapM except with arguments flipped.
forM is
mapM with its arguments flipped. For a version
that ignores the results see
forM_.
Whether Prefix, Postfix or Infix
O(n) Apply the monadic action to all elements of the non-empty
vector, yielding a non0empty vector of results.
Equivalent to
flip mapM.
O(n) Apply the monadic action to all elements of the vector,
yielding a vector of results. Equvalent to
flip mapM.