<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Phil,<br>
<br>
On 3/10/2020 12:20 PM, Phil B via Cuis-dev wrote:
<blockquote
cite="mid:CAMJMOeioC4i6BD7DYf-4Fz5z595q0aDrdfGnvK+VO0o_HRQtjw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div dir="ltr">Juan,</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Tue, Mar 10, 2020 at 8:45
AM Juan Vuletich <<a moz-do-not-send="true"
href="mailto:juan@jvuletich.org">juan@jvuletich.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">You say 'the literal 0@0 instance'.<br>
<br>
....<br>
<br>
As you see being immediate, unique or a literal are three
different things.<br>
<br>
The backtick syntax `0@0` creates a literal at compile time.
But there <br>
is no guarantee of uniqueness. It just mimics what the
compiler does <br>
when it finds 'a := 1000000000000000000000000', for
instance.<br>
</blockquote>
<div><br>
</div>
<div>Ah, then I misunderstood what you implemented. I've been
wondering for a while about some oddness I've been
experiencing... now I understand the source of it. I
misunderstood and thought that `0@0` resulted in a globally
unique instance similar to true or #foo, not 3. That's what
my original Point class>>zero proposal was going for.</div>
<div> </div>
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<br>
So yes, your tool will find all `0@0` literals. And they are
ok.<br>
</blockquote>
<div><br>
</div>
<div>Says you ;-) I need globally unique instances. No big
deal, the literal syntax at least greatly reduced the number
of instances out there. I can use this approach as part of
the solution to get it down to one when I build my image.</div>
</div>
</div>
</blockquote>
<br>
Then take a look at how Symbol does it.<br>
<br>
<blockquote
cite="mid:CAMJMOeioC4i6BD7DYf-4Fz5z595q0aDrdfGnvK+VO0o_HRQtjw@mail.gmail.com"
type="cite">
<div dir="ltr">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0px 0px 0px
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
Cheers,<br>
<br>
-- <br>
Juan Vuletich<br>
<br>
</blockquote>
<div><br>
</div>
<div>Thanks,</div>
<div>Phil </div>
</div>
</div>
</blockquote>
<br>
Cheers,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
<a class="moz-txt-link-abbreviated" href="http://www.cuis-smalltalk.org">www.cuis-smalltalk.org</a>
<a class="moz-txt-link-freetext" href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev</a>
<a class="moz-txt-link-freetext" href="https://github.com/jvuletich">https://github.com/jvuletich</a>
<a class="moz-txt-link-freetext" href="https://www.linkedin.com/in/juan-vuletich-75611b3">https://www.linkedin.com/in/juan-vuletich-75611b3</a>
@JuanVuletich</pre>
</body>
</html>