Quoting Jim Lewis <jim@SynthWorks.com>:
> Peter,
> With the generic clause following the generic package and
> the generic clause preceding the generic procedure/function,
> seems to lead to some interesting syntax errors.
[...]
> At one point in time I think there was a goal to keep
> a hamming distance between correct functionality.
> Should we consider moving the generic clause for the
> package before the package like the subprogram or
> alternately should we consider moving the generic
> clause to after the subprogram declaration.
Ada already handles generic packages and generic subprogram.
I think we should closely follow the Ada generic, since it is already well
defined and working.
FYI, in Ada, the generic formal part is before the function/procedure/package
reserved word.
Tristan.
Received on Fri Dec 24 01:44:22 2004
This archive was generated by hypermail 2.1.8 : Fri Dec 24 2004 - 01:45:35 PST