[Packages] Split-Join in development universe etc

Jason Johnson jason.johnson.081 at gmail.com
Sat Aug 4 13:34:31 UTC 2007


On 8/1/07, Keith Hodges <keith_hodges at yahoo.co.uk> wrote:
>
> I added Split-Join as a package in the development universe.
>
> This is a small set of functionality, much discussed on the list, which
> has not yet gained the notoriety required to make it into 3.10. Making
> this an item that can be named as a dependant, should other packages
> make use of it this has the benefit of recording its usefulness. It also
> means that I/you can write packages so that we can be sure it is loaded
> when needed.



Cool.  This is the double dispatch way that lets you do things like:
#(252 211 203) joinWith: #(255 254) => #(252 255 254 211 255 254 203)
right?


I proposed enabling Universes to run arbitrary, or Installer based
> scripts, but this is considered somewhat cavalier. So undaunted, and no
> less barbaric I have used a PackageInfo-#preamble to load this script!
> This has the disadvantage of being hard to maintain and it is working
> invisible magic behind the scenes , whereas the script option would have
> been visible and manageable.



Why?  Why is a script needed to add the methods from your class?


In spite of this I think that Monticello1.5 is nearly ready to be used
> in 3.10. I tried using the old one for a few hours and got very
> frustrated with loosing class extensions.
>
> enjoy
>
> Keith



Losing class extensions?  You mean star methods?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20070804/807eabad/attachment.htm


More information about the Squeak-dev mailing list