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

Re: New draft

This page is part of the web mail archives of SRFI 89 from before July 7th, 2015. The new archives for SRFI 89 contain all messages, not just those from before July 7th, 2015.



On 5/5/06, Marc Feeley <feeley@iro.umontreal.ca> wrote:

The new syntax does away with the `#!optional', `#!key' and `#!rest'
markers.  Instead, a syntax that is inspired from EBNF is used to
denote optional parts (square brackets in the parameter list around
the optional parameters).  Moreover, to reinforce the similarity
between the appearance of `defines' and the call site, named
parameters are specified in the parameter list by giving both the
keyword and the variable corresponding to that parameter.  Finally,
the approach now supports required named parameters.  All the details
are given in the SRFI document.

This is very much an improvement over the previous spec, even though
I still think it is too complicated: do named required arguments really
occur often enough to merit their support? Doing away with them also
would allow keyword-style marker objects that are not keywords (if I understand
the grammar correctly).


(felix)