CurryInfo: base-3.4.0 / Prelude.sequence

definition: Info
 
sequence :: Monad m => [m a] -> m [a]
sequence []     = return []
sequence (c:cs) = do x <- c
                     xs <- sequence cs
                     return (x : xs)
demand: Info
 arguments 1 2
deterministic: Info
 deterministic operation
documentation: Info
 
Executes a sequence of monadic actions and collects all results in a list.
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{[]}) |-> _ || (_,{:}) |-> _}
name: Info
 sequence
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Monad a => [a b] -> a [b]
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms