Re:What's wrong with Object-Oriented Programming and Functio...
by quchen on Tuesday November 12, 2013 @09:41AM
(#6718054)
You can picture functions with the IO type as something to compose a program out of. This program is then run by runtime system of your implementation, and that's "when the byte is written".
Here's a nice explanation of Haskell IO: http://stackoverflow.com/questions/13536761/what-other-ways-...