yes now we should pay attention about metadata in the methods. Now what we can have also is that the ***package*** knows the extension this is what my dead slowing making progress impelemntation is doing. On Jan 10, 2010, at 2:08 PM, Cédrick Béler wrote:
Hi,
Just a 2 cents thought on method extension.
Why not associating a pragma instead of using the package name prefixed by a star ?
Say there is a package named MyPackage and I override a method in String or add a new one. What I'd like is keeping the original method category name (or find an appropriate one) instead of using *mypackage. For instance:
String>>aMethod <package: MyPackage> ... ... ^result
Then, we would have to adapt monticello for that purpose. We could also use dynamic protocols to get the list of extension method by package.
What does other think ? I find it could be a good starting point to deal with packages.
-- Cédrick _______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project