by codeflo · 12y ago · 0 comments
Though some have argued that this confusion indicates a hole in our vocabulary:
As for IO, the best way to read it would be as an "IO action", which is what much of the literature refers to it as. Yes, this isn't trivial to understand, but IO in Haskell isn't trivial, and you can avoid the formalism if needed until once you understand things a bit better.
And your other explanation proves my point: If an "IO" instance is best described as an "IO Action", then why is the type not called "IOAction"?
Then again, my code doesn't have to fit into 20-character research paper columns.