[Haskell-beginners] Getting Stuff out of IO Handles