[Haskell-cafe] Program Command Line Arguments

Dave at haskell.org Dave at haskell.org
Sat Mar 10 20:46:06 EST 2007


My apologies if this is a question with a trivial answer.
Command line args in C are accessed via argc and argv[]
defined as arguments to main();.

How are command line arguments to a ghc-compiled program
accessed in Haskell? Or is that even possible?

Thanks.


More information about the Haskell-Cafe mailing list