arguments to the main function throught runhugs

"thiagohb" <[email protected]>
Newsgroups gmane.comp.lang.haskell.hugs.bugs
Message-ID <[email protected]>
Hello,
I'm a student in Ouro Preto's University (Brazil) and I have a problem:
How can I pass arguments to the main function throught runhugs?
I'll need to use a string in the main function. How can I catch the string 
from command line? 

For example:
runhugs main.hsx test 

Thank you.
Thiago Braga.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.