guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: getopt-long


From: Thien-Thi Nguyen
Subject: Re: getopt-long
Date: Mon, 05 Dec 2011 19:35:59 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

() Andrew Horton <address@hidden>
() Thu, 01 Dec 2011 11:40:40 +0000

   recognize multiple use of an option when using getopt-long.

Guile 1.4.x extended (ice-9 getopt-long) to handle multiple occurances.
Here is an excerpt from (info "(guile) getopt-long Reference"):

  `(merge-multiple? BOOL)'
        If BOOL is `#t' and the `value' property is not `#f', all
        (one or multiple) occurrances are merged into a list with
        order retained.  If `#f', each instance of the option results
        in a separate entry in the resulting alist.

Subsequently, this rat jumped to the non-(not-yet?)-sinking ttn-do
as module ‘(ttn-do zzz bamboozled)’.  More info online:

http://www.gnuvola.org/software/guile/doc/getopt_002dlong-Reference.html
http://www.gnuvola.org/software/ttn-do/ttn-do.html.gz#zzz-bamboozled

I think it would be cool if this were to find berth in official Guile.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]