[Grace-core] Class syntax and type parameters

Michael Homer mwh at ecs.vuw.ac.nz
Fri Nov 14 16:44:50 PST 2014


On Sat, Nov 15, 2014 at 1:37 PM, Marco Servetto
<marco.servetto at gmail.com> wrote:
> Dear Andrew,
> list<Number>.empty
> Is a normal method over a generic class.
It's a normal method on the object returned by a request of a generic
method. There is no such thing as a "generic class" (yet); I think
this should really be list.empty<Number>, but someone's able to write
it either way, and there's always a generic method involved somewhere.
-Michael


More information about the Grace-core mailing list