[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10522: Patch: Improve optional variable and keyword notation in manu
From: |
Ludovic Courtès |
Subject: |
bug#10522: Patch: Improve optional variable and keyword notation in manual |
Date: |
Sat, 04 Feb 2012 00:54:02 +0100 |
User-agent: |
Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.93 (gnu/linux) |
Hello! :-)
Andy Wingo <address@hidden> skribis:
> On Mon 16 Jan 2012 20:46, Bake Timmons <address@hidden> writes:
>> address@hidden {Scheme Procedure} resolve-module name [autoload=#t]
>> [version=#f] [#:ensure=#t]
>> address@hidden {Scheme Procedure} resolve-module name [autoload=#t
>> [version=#f]] @
>> + [#:ensure ensure=#t]
>
> Nesting the optional arguments in brackets can get a bit ugly. It is
> precise but verbose. But I suppose we should not encourage interfaces
> with many optional arguments, so perhaps it is a moot point.
Indeed.
> Also, it seems pedantic to repeat the keyword arguments (once as
> keyword, once as identifier). Surely #:foo=bar is unambiguous?
That’s what I would think.
Perhaps the people behind address@hidden have something to say
about this kind of thing, since there are other Lispy packages out there
with similar features?
Thanks,
Ludo’.