<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I didn't notice anyone else pointing this out... Have a look at how many "is" methods are defined on Object in Cuis. Although it is a very common pattern in Smalltalk, in Cuis this was changed slightly. Yes, there are some common is methods like isString (and
 isComplex), but there is also the #is: method. The idea is to only implement #is: on your classes that should answer true. Have a look at implementors and senders to understand how it's implemented and used. I believe the purpose of this is to help prevent
 packages from adding methods to Object unnecessarily. </div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div dir="ltr" style="font-family: Aptos, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Jon</div>
<div id="ms-outlook-mobile-signature" style="color: inherit; background-color: inherit;">
<p style="margin: 0in; font-family: Aptos, sans-serif; font-size: 11pt;"><span style="font-size: 12pt;"> </span></p>
</div>
<div id="mail-editor-reference-message-container" style="color: inherit; background-color: inherit;">
<div dir="ltr" class="ms-outlook-mobile-reference-message skipProofing"></div>
<div class="ms-outlook-mobile-reference-message skipProofing" style="text-align: left; padding: 3pt 0in 0in; border-width: 1pt medium medium; border-style: solid none none; border-color: rgb(181, 196, 223) currentcolor currentcolor; font-family: Aptos; font-size: 12pt; color: black;">
<b>From: </b>Cuis-dev <cuis-dev-bounces@lists.cuis.st> on behalf of Jonathan Kelly via Cuis-dev <cuis-dev@lists.cuis.st><br>
<b>Date: </b>Friday, September 26, 2025 at 8:31 PM<br>
<b>To: </b>cuis-dev@lists.cuis.st <cuis-dev@lists.cuis.st><br>
<b>Cc: </b>Jonathan Kelly <jonkelly@fastmail.fm><br>
<b>Subject: </b>[Cuis-dev] smalltalk newbie - Complex<br>
<br>
</div>
<div class="ms-outlook-mobile-reference-message skipProofing">Hi,<br>
<br>
I'm playing with Cuis smalltalk, and building a Complex class, so far so<br>
good. But I want to add an  "isComplex" method on Object, and<br>
an  "asComplex" method on Number, but I can't find a way to tell Cuis<br>
that the new methods belongs to the Complex package.How do I make all my<br>
changes belong to the Specific package they're related to?<br>
<br>
Thanks<br>
<br>
Jon<br>
<br>
--<br>
Cuis-dev mailing list<br>
Cuis-dev@lists.cuis.st<br>
<a href="https://lists.cuis.st/mailman/listinfo/cuis-dev" data-outlook-id="9c7d88bd-0074-4a21-939d-891b2cdefc87">https://lists.cuis.st/mailman/listinfo/cuis-dev</a></div>
</div>
</body>
</html>