[Haskell-beginners] How to interact with a process