|
|
|
|
|
by dddbbb
2067 days ago
|
|
I'd say there is quite an important conceptual difference in that the state monad example exactly desugars to pure functional code. Monads give us a good syntax for sequential computation, but this sequentiality is built out of purely functional components. |
|