Abdulaziz Ghuloum skrev:
On Dec 27, 2008, at 3:23 AM, Derick Eddington wrote:
I've always thought, when you don't need more complex command-line
arguments handling, the apply case-lambda is really slick.
It's still a little too verbose for such a simple thing.
SRFI-37, available as library (xitomatl srfi args-fold), does POSIX and
GNU -style handling. http://srfi.schemers.org/srfi-37/srfi-37.html
I don't like! Too complex.
FWIW here is the PLT version of command line parsing.
http://docs.plt-scheme.org/reference/Command-Line_Parsing.html
http://svn.plt-scheme.org/plt/trunk/collects/scheme/cmdline.ss
/Jens Axel