On 07/06/10 20:45, Miguel Ferrando Rocher wrote:
Hi,

How can I translate the definition of simple class into the Kernel language?

Thank you
To complement the answer of Torsten:

'class' is a linguistic abstraction. If you want to translate it completely into the kernel language with explicit state (as given on page 415 of CTM, Table 6.1), you should look at Section 7.2 (page 492) and Section 7.6 (page 545) which explain how to do it. Basically, a class is an abstract data type with two operations: creating a class, and creating an instance of an object from a class.

Peter

_________________________________________________________________________________
mozart-users mailing list                               
[email protected]
http://www.mozart-oz.org/mailman/listinfo/mozart-users

Reply via email to