stevan / p5-mop-redux

A(nother) MOP for Perl 5
139 stars 36 forks source link

should mop::observable be an actual part of the mop? #95

Closed doy closed 11 years ago

doy commented 11 years ago

It's not quite clear if the intention is to allow user classes to be able to do with mop::observable or not. It's also not mentioned at all in the docs, and the bootstrap doesn't actually end up with it being visible at all. Should it be a real thing, or just an implementation detail?

stevan commented 11 years ago

It is for internal use only.

doy commented 11 years ago

Actually, looking at the bootstrap, it does end up being true that mop::observable ends up in the list produced by mop::meta('mop::class')->roles and such. Is this what we want? If it is, should we document mop::observable as a separate thing? If not, should we fix that?

stevan commented 11 years ago

I think maybe we should move mop::observable into mop::internal:: and make it an implementation detail.

doy commented 11 years ago

Done.