|
|
|
|
|
by dmitriid
3247 days ago
|
|
Basically, the moment you have readFile :: FilePath -> IO String
writeFile :: FilePath -> String -> IO ()
and any function invoking those two (and any functions invoking these function etc. etc.) your "haskell strictly conforms to FP definition" flies out of the window.And yes: I used the term "IO monad" incorrectly. |
|
All composition of IO actions is performed with full referential transparency and adherence to the Wikipedia definition.