4 ms·
It sounds like you're saying those things are not an inherent limit of the pure functional programming model, and support it by listing ways to fix it that brea
by SilasX 12y ago
It sounds like you're saying those things are not an inherent limit of the pure functional programming model, and support it by listing ways to fix it that break the functional purity.
- jberryman 12y ago> and support it by listing ways to fix it that break the functional purity. I don't see anything in his post that does anything of the sort. Can you be more specific?
- gamegoblin 12y agoThe only way you're breaking functional purity is by doing IO, which none of those suggestions are doing.
- SilasX 12y agoSeveral of them write to a file or store state in one. That's impurity, even if done "nicely". It just feels like saying "don't talk to the outside world that way, do it this way".
- jdiez17 12y agoThe only part where I suggested to store a monad in a file is when I proposed it as a way of pausing a computation and resuming its execution at a later point in time. My mistake for mentioning the word "file", but I meant it in the abstract sense.
- jberryman 12y agoThe point of `IO` is that using it doesn't break referential transparency.