When I try in Windows in cmd: ghc --make myprogram.hs > test.txt I only get the first lines in test.txt. The errormessages itself are on the screen, not in test.txt.
 
In test.txt:
Resolving dependencies...
Configuring ftphs-1.0.7...
Preprocessing library ftphs-1.0.7...
Preprocessing executables for ftphs-1.0.7...
Building ftphs-1.0.7...
The errormessages: Could not find  module 'Network.FTP.Client'.... and a lot more.
 
How do I 'intercept' these messages?
 
Kees