Polymorphic copy: Difference between revisions

Line 688:
 
:class T <super object
ivar container \ can eventually contain an object of any type
:m put ( obj -- ) container ! ;m
:m init: [self] [self] put ;m \ initially container holds self