[lively-kernel] [General] Redefining the Class of Instantiated Morphs, Subclassing Instantiated Morphs on the Fly

Sean P. DeNigris sean at clipperadams.com
Wed Feb 19 20:50:12 CET 2014


Sean P. DeNigris wrote
> In Self, one can share behavior among copies quite easily by defining a
> new parent before making the copies of the morph

See http://handbook.selflanguage.org/4.5/morphic.html for an example. Search
for "(| parent* = traits morph |)" for the creation of the new parent.



-----
Cheers,
Sean
--
View this message in context: http://forum.world.st/Re-General-Redefining-the-Class-of-Instantiated-Morphs-Subclassing-Instantiated-Morphs-on-the-Fly-tp4744953p4744963.html
Sent from the Lively Kernel mailing list archive at Nabble.com.


More information about the lively-kernel mailing list