Comment
Comment by S4M
I don't know much about Haskell, but I thought it had some properties to isolate side effects, but the code he gives:
Clearly doesn't (it creates a directory, writes in a file, removes that file and that directory all in one go without anything indicated by the function main. Is it because it's the main function of the program, or am I missing something?