>>> writeFile "hello" "world" >> readFile "hello" "world"
>>> writeFile "~/" "D:" *** Exception: ~/: withFile: inappropriate type (Is a directory)
>>> S.writeFile "lines.txt" $ S.take 2 S.stdinLn hello<Enter> world<Enter>
>>> S.readFile "lines.txt" S.stdoutLn hello world
>>> :set -XOverloadedStrings >>> runResourceT $ Q.writeFile "hello.txt" "Hello world.\nGoodbye world.\n" >>> :! cat "hello.txt" Hello world. Goodbye world. >>> runResourceT $ Q.writeFile "hello2.txt" $ Q.readFile "hello.txt" >>> :! cat hello2.txt Hello world. Goodbye world.