News for hackers. Stuff that matters.
Re:“Mostly functional” programming does not work by icebraining on Friday July 25, 2014 @06:26AM (#8084485)
I believe the whole fuss of monads is because they allow you to write pure functional programming while still doing I/O and similar things.

http://chris-taylor.github.io/blog/2013/02/09/io-is-not-a-si...

Re:“Mostly functional” programming does not work by davidw on Friday July 25, 2014 @06:30AM (#8084497)
Ok, but if we're being picky about things, you can use all the monads you want, but if you read a file and display its output two different times, you may well get completely different results. The contents could have changed, someone may have removed the file, and so on.
Re:“Mostly functional” programming does not work by yvdriess on Friday July 25, 2014 @06:38AM (#8084516)
Mathematically, you have two different inputs in that case, the environment changed since.