Kjell,<div><br class="webkit-block-placeholder"></div><div>If your Package name is </div><div> APackage, </div><div><br class="webkit-block-placeholder"></div><div>and you extend Object with</div><div> Object>>asGenerator,</div>
<div><br class="webkit-block-placeholder"></div><div>simply put asGenerator in a category named:</div><div><br class="webkit-block-placeholder"></div><div>*apackage (same name as your package, with an * in front)</div><div>
<br></div><div>and Monticello will include the Object extension in the APackage package.</div><div><br class="webkit-block-placeholder"></div><div>You can read more in the "Squeak By Example book, which you can download at:</div>
<div><br class="webkit-block-placeholder"></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 12px; white-space: pre; "><a href="http://squeakbyexample.org/">http://squeakbyexample.org/</a></span><br class="webkit-block-placeholder">
</div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 12px; white-space: pre;"><br class="webkit-block-placeholder"></span></div><div><span class="Apple-style-span" style="font-family: 'Lucida Grande'; font-size: 12px; white-space: pre;">Is this what you meant?</span></div>
<div><br class="webkit-block-placeholder"></div><div>Rob Rothwell</div><div><br><div class="gmail_quote">On Thu, Mar 27, 2008 at 10:58 AM, Kjell Godo <<a href="mailto:squeaklist@gmail.com">squeaklist@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div>Hello Squeak developers</div>
<div> </div>
<div>Is it true that you cannot include loose methods in</div>
<div>a Squeak or Croquet Package?</div>
<div> </div>
<div>I can see where you can include Classes in a Package</div>
<div>but can you include loose Methods?</div>
<div> </div>
<div>In Dolphin Smalltalk a Package can include loose</div>
<div>Methods and it is essential for my large Generator</div>
<div>Package to be able to do so. I need to be able to</div>
<div>put the method:</div>
<div> </div>
<div>Object>>asGenerator</div>
<div> </div>
<div>into the Package etc. etc.</div>
<div> </div>
<div>I have been thinking about beginning to port this</div>
<div>Generator Package over to Squeak since there is such</div>
<div>a well defined way of publishing Squeak software into</div>
<div>the web. But if there are no loose Methods in Squeak</div>
<div>Packages then I would have to forget about it.</div>
<div> </div><font color="#888888">
<div>-Kjell</div>
</font><br><br>
<br></blockquote></div><br></div>