rabbitmq/erlando — Issue #5: monad:sequence/2 evaluates 'Xs' from right to left?
Author: kinogmt
Created: 2012-01-10 06:58:20+00:00
State: open

Because it's using lists:foldr/3, sequence/2 is evaluating Xs from right to left?

```
sequence(Monad, Xs) ->
lists:foldr(fun (X, Acc) ->
do([Monad || E <- X,
Es <- Acc,
return([E|Es])])
end, Monad:return([]), Xs).
```