News for hackers. Stuff that matters.
Re:If monads are the solution, what is the problem? by foldr on Monday July 30, 2018 @06:19PM (#17648665)
>Because of the way the rules of the Monad interface are structured you're guaranteed that the functions you use to compose your Monads together will be executed in sequence with respect to their definition in your function body.

No! Monads don't guarantee sequencing. Some particular monad instances do (e.g. IO). But there's nothing inherently sequential about monads. See e.g. point 10 of the following:

https://wiki.haskell.org/What_a_Monad_is_not

Re:If monads are the solution, what is the problem? by theaeolist on Tuesday July 31, 2018 @03:59AM (#17651354)
The page on "What a Monad is not" has numerous inaccuracies. I wouldn't take it too seriously.
Re:If monads are the solution, what is the problem? by foldr on Tuesday July 31, 2018 @04:52AM (#17651581)
What inaccuracies are there in section 10?
Re:If monads are the solution, what is the problem? by agentultra on Monday July 30, 2018 @09:58PM (#17649958)
I knew I was going to get something about it wrong. Thanks for the clarification. It’s just one aspect that gets focused on because... IO and that's what the article focuses on. I got wrapped up in it too.