入門者の私が「Lazy IOか、なるほどいいものだな」なんて思いながらRWH読んでたら…

"you must not close the Handle until you have finished consuming its results <<via>> hGetContens.
Doing so would cause you to miss on some or all of the file's data."

とんだ落とし穴じゃないか。。。