[Haskell-beginners] Space leak while reading from a file?