Accpeting command-line arguments in GHC/Hugs

Shlomi Fish
Tue, 23 Jan 2001 20:56:49 +0200 (IST)

How can I read the command-line arguments passed to the program. For
instance, if I run my compiled program by typing "./foo hello -o
file.txt", I wish to access the list ["hello", "-o", "file.txt"] somehow.


	Shlomi Fish

Shlomi Fish 
Home Page:
Home E-mail:

The prefix "God Said" has the extraordinary logical property of 
converting any statement that follows it into a true one.