Re:Can functional programming be liberated from the von Neum...
by gamegoblin on Thursday January 01, 2015 @01:45PM
(#8823754)
The only way you're breaking functional purity is by doing IO, which none of those suggestions are doing.
[ Parent
| on HN ]
Re:Can functional programming be liberated from the von Neum...
by jberryman on Thursday January 01, 2015 @02:42PM
(#8823988)
The point of `IO` is that using it doesn't break referential transparency.
Re:Can functional programming be liberated from the von Neum...
by SilasX on Thursday January 01, 2015 @01:57PM
(#8823795)
Several 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".
Re:Can functional programming be liberated from the von Neum...
by jdiez17 on Thursday January 01, 2015 @02:34PM
(#8823958)
The 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.