Hi, folks!
 
I have recently downloaded ghc-4.03 (under win32/cygwin) and everything
seems to work great, but somehow the following code snippet does not
work as intended:
 
 
import System
 
main = do argv <- getArg
                   print argv
 
 
This does print "[]" - no arguments!
Since the same thing fails in Hugs too, I must have made some mistake.
 
please enlighted me.
 
 
thanks,
felix
 

Reply via email to