This is the mail archive of the
docbook@lists.oasis-open.org
mailing list for the DocBook project.
Re: RFE #473365: Allow optional in funcprototype
- From: Stefan Seefeld <seefeld at sympatico dot ca>
- To: Norman Walsh <ndw at nwalsh dot com>
- Cc: docbook at lists dot oasis-open dot org
- Date: Tue, 21 May 2002 08:48:51 -0400
- Subject: Re: DOCBOOK: RFE #473365: Allow optional in funcprototype
- References: <873cwlg2vm.fsf@nwalsh.com>
Norman Walsh wrote:
> The TC discussed this and is considering adding an 'optionalparamdef'
> wrapper instead (i.e., instead of optional above, not instead of paramdef).
>
> Does this seem useful to the community at large?
>
> Is a similar optionalmethodparam element needed for methodparam?
python has some unusual parameter passing rules, too, for example you
can pass a parameter by name such as 'foo(bar=42)'.
Wouldn't it make sense to annotate the 'paramdef' entity with an
attribute that assigns such a type ? That could be any string such as
'optional', 'named' or whatever fits for a given language...
Regards,
Stefan