| Loops | categories Lists, Sets and Instructions Instantiation |
Exception Handling |
Instantiation is the mechanism of creating a new object of a given class; instantiation is done by using the class as a selector and by giving a list of "<slot> = <value>" pairs as arguments :
| complex(re = 0.0, im = 1.0) person(age = 0, father = john) |
| paul :: person(age = 10, father = peter) |
| aGoodGuy:person :: person(age = 10, father = peter) |
| complex(0.0,1.0), stack(integer) |