3 ms·
You're not getting it. When there's so much IO, which is what happens in a lot of web applications, most of your code isn't going to be pure anyway. Even your
by corethree 3y ago
You're not getting it.
When there's so much IO, which is what happens in a lot of web applications, most of your code isn't going to be pure anyway.
Even your haskell code under do-notation looks very procedural because there's just so much IO. So you're basically back to programming regular code. It doesn't solve the core problem.
The pattern itself is good and is not a problem and I believe the pattern that should be followed.... but in the end practically speaking for the web it doesn't do too much to remove the main issue.