definition:
|
sequenceT :: [Transaction a] -> Transaction [a]
sequenceT = foldr seqT (returnT [])
where
--seqT t ts = t |>>= \x -> ts |>>= \xs -> returnT (x:xs)
seqT t ts = do x <- t
xs <- ts
return (x:xs)
|
demand:
|
no demanded arguments
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Executes a list of transactions sequentially and computes a list
--- of all results.
|
failfree:
|
()
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{() |-> {foldr}}
|
name:
|
sequenceT
|
precedence:
|
no precedence defined
|
result-values:
|
{foldr}
|
signature:
|
[Transaction a] -> Transaction [a]
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
reducible on all ground data terms
|