It took a bit of time to figure it out... I finally came up with:
    MCPackage allInstances asSet collect: [ :e | e name ].

I started with three seemingly equivalent operations which all returned
different results in 1.3 (not in 1.4):
    packageNames := MCPackage allInstances collect: [ :e | e name ] as: Set.
    all := MCPackage allInstances.
    set := MCPackage allInstances asSet.

    packageNames size. "235"
    all size. "236."
    set size. "234."

It turned out to be the 'bogus' and 'bogusext' packages that were throwing
the results off (the first is duplicated in the image and the second is
duplicated with case differences). Given the names, I'm guessing it's not
too important, but still confusing.

What's the best way to do the above? How do we prevent future queriers from
this confusion?

Thanks.
Sean

--
View this message in context: 
http://forum.world.st/Which-packages-are-loaded-in-the-image-tp4568092p4568092.html
Sent from the Pharo Smalltalk mailing list archive at Nabble.com.

Reply via email to