Hoogle Search
Within LTS Haskell 24.4 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
sequence :: CreativeAssignment -> Maybe Int32gogol-dfareporting Gogol.DFAReporting.Types Sequence number of the creative assignment, applicable when the rotation type is CREATIVEROTATIONTYPE_SEQUENTIAL. Acceptable values are 1 to 65535, inclusive.
sequence :: (Traversable t, Monad m) => t (m a) -> m (t a)xmonad-contrib XMonad.Config.Prime Evaluate each monadic action in the structure from left to right, and collect the results. For a version that ignores the results see sequence_.
Examples
Basic usage: The first two examples are instances where the input and and output of sequence are isomorphic.>>> sequence $ Right [1,2,3,4] [Right 1,Right 2,Right 3,Right 4]
>>> sequence $ [Right 1,Right 2,Right 3,Right 4] Right [1,2,3,4]
The following examples demonstrate short circuit behavior for sequence.>>> sequence $ Left [1,2,3,4] Left [1,2,3,4]
>>> sequence $ [Left 0, Right 1,Right 2,Right 3,Right 4] Left 0
data
Sequenced a (m :: Type -> Type)lens Control.Lens.Combinators Used internally by mapM_ and the like. The argument a of the result should not be used! See 4.16 Changelog entry for the explanation of "why not Apply f =>"?
data
Sequenced a (m :: Type -> Type)lens Control.Lens.Fold Used internally by mapM_ and the like. The argument a of the result should not be used! See 4.16 Changelog entry for the explanation of "why not Apply f =>"?
newtype
Sequenced a (m :: Type -> Type)lens Control.Lens.Internal.Fold Used internally by mapM_ and the like. The argument a of the result should not be used! See 4.16 Changelog entry for the explanation of "why not Apply f =>"?
Sequenced :: m a -> Sequenced a (m :: Type -> Type)lens Control.Lens.Internal.Fold No documentation available.
type
SequenceIterCompareFunc = SequenceIter -> SequenceIter -> Ptr () -> IO Int32gi-glib GI.GLib.Callbacks A SequenceIterCompareFunc is a function used to compare iterators. It must return zero if the iterators compare equal, a negative value if a comes before b, and a positive value if b comes before a.
module GI.GLib.Structs.
SequenceIter The SequenceIter struct is an opaque data type representing an iterator pointing into a Sequence.
-
gi-glib GI.GLib.Structs.SequenceIter Memory-managed wrapper type.
SequenceIter :: ManagedPtr SequenceIter -> SequenceItergi-glib GI.GLib.Structs.SequenceIter No documentation available.