3 ms·
Dumb, but it's fun hearing it from the other side. If you ever make a "Haskell is bad because it doesn't use state but the real world uses state" argument, thi
by mrkeen 3y ago
Dumb, but it's fun hearing it from the other side.
If you ever make a "Haskell is bad because it doesn't use state but the real world uses state" argument, this is what you sound like.
- PartiallyTyped 3y agoI mean ... state monad?
- mrkeen 3y agoRight? Even if you wanted to be pedantic and say the state monad is only 'simulated' state, you've still got ST, IO, and the glorious, glorious STM. Not to mention the purity and type-system that lets these things flourish, while other language designers try to implement STM and give up on it.
- nirimda 3y agoWe can keep going. I keep my state in postgres when I'm using Haskell, and I keep my state in mysql when I'm using PHP. It really is a very strange argument.