[Grace-core] Class syntax and type parameters

Marco Servetto marco.servetto at gmail.com
Fri Nov 14 16:37:56 PST 2014


Dear Andrew,
list<Number>.empty
Is a normal method over a generic class.
that in the new way of thinking would be
list[bla].empty, that is, the class
list[bla] receive and anwer to the message empty.

a polimorphic method is a method that return a different type
depending on the type of the arguments.


More information about the Grace-core mailing list