Feb. 27, 2015
6:49 p.m.
Pardon my ignorance, but can Slot definitions be composed like traits?
I was wondering the same already :-) e.g. I want to be able to make any slot a hidden slot without having to subclass it.
Because I can imagine wanting, say ProcessLocal + mmm... Static, without having to combine the two properties in a class with a gnarly inheritance tree, or a factorial number of classes combining different defining traits...
The proof-of-concept for how to realise MetaLinks on Slots is using a Wrapper.. this way every slot can be annotate with a MetaLink. Maybe that can be generalised? Marcus