[Haskell-cafe] FW: Treating command-line arguments as a Haskell expression

Simon Peyton-Jones simonpj at microsoft.com
Mon Dec 24 03:55:53 EST 2007


Would someone familiar with the command-line-parsing libraries care to help Krassimir?

Thanks

Simon
-----Original Message-----
From: Krassimir Krustev [mailto:krassimir.krustev at gmail.com]
Sent: 23 December 2007 11:38
To: Simon Peyton-Jones
Subject: Treating command-line arguments as a Haskell expression

Dear Dr. Jones:

I've been pulling my hair over the Christmas Holidays trying to figure
the following:

I want to call a function from within Haskell module so that the name
of this function corresponds to my first command-line argument and the
rest rest of the  command-line arguments are would become themselves
the argument to this function.

Coundn't figure this out. It is my first week with Haskell.

Yours,
Krassimir


More information about the Haskell-Cafe mailing list