[squeak-dev] Pluggable Morphs

Stéphane Rollandin lecteur at zogotounga.net
Mon Jan 3 23:45:13 UTC 2011


> Wouldn't the pluggable Morphs be more flexible/powerful if they took blocks
> instead of selectors?

Note that blocks do not serialize correctly: a Morph referencing a block 
can not be saved as a .morph file.

Try it:
	m _ Morph new.
	m setProperty: #dummy toValue: [:x | x + 1].
	m saveOnFile

For this reason in muO I use LambdaMessageSends instead of blocks.

I would love to see this fixed though.

Stef



More information about the Squeak-dev mailing list