<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Just pushed an update to make senders call #findPositiveInteger
instead. See the whole mail thread for rationale. (hint: the method
is _not_ converting to an integer, in the way that doing `aString
asNumber asInteger` would, therefore the name #asInteger is
misleading and wrong).<br>
<br>
Thanks,<br>
<br>
On 6/23/2021 4:28 AM, Phil B via Cuis-dev wrote:
<blockquote
cite="mid:CAMJMOehRQN3iyFL+0thF-a4N5wKqQE-bcwZFHc3Rvm_ZWk=2YA@mail.gmail.com"
type="cite">
<div dir="ltr">Philip,
<div><br>
</div>
<div>Thanks for pointing that out as I never would have guessed
the name that was chosen. I agree that #asInteger was useful
and it seems odd to not to just fix what appeared to be an
implementation oversight. At the very least, the base image
and core packages should be fixed if we're going this way.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>Phil</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Wed, Jun 23, 2021 at 3:06
AM Philip Bernhart <<a moz-do-not-send="true"
href="mailto:philip.bernhart@posteo.de">philip.bernhart@posteo.de</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;">Hi Phil,<br>
<br>
I know about that, because I have been somewhat involved in
that issue.<br>
I found out a while ago, that #asInteger does not parse
negative<br>
numbers. I wrote a mail about that to the mailinglist:<br>
<br>
<a moz-do-not-send="true"
href="https://lists.cuis.st/mailman/archives/cuis-dev/2021-January/002716.html"
rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/archives/cuis-dev/2021-January/002716.html</a><br>
<br>
Juan reacted by removing #asInteger. As #asNumber does
basically the<br>
same thing.<br>
<br>
I'm not sure if that is good, as #asInteger is somewhat
useful.<br>
But maybe it's legacy behaviour which should be moved out?<br>
<br>
<br>
Cheers,<br>
Philip<br>
<br>
Phil B via Cuis-dev <<a moz-do-not-send="true"
href="mailto:cuis-dev@lists.cuis.st" target="_blank">cuis-dev@lists.cuis.st</a>>
writes:<br>
<br>
> I've been lagging a bit behind on updates and noticed
that<br>
> String>>asInteger has been removed which breaks
DateAndTime<br>
> class>>fromString: Not sure if it's been moved
somewhere else or was<br>
> inadvertently removed or ???<br>
><br>
> Thanks,<br>
> Phil<br>
> -- <br>
> Cuis-dev mailing list<br>
> <a moz-do-not-send="true"
href="mailto:Cuis-dev@lists.cuis.st" target="_blank">Cuis-dev@lists.cuis.st</a><br>
> <a moz-do-not-send="true"
href="https://lists.cuis.st/mailman/listinfo/cuis-dev"
rel="noreferrer" target="_blank">https://lists.cuis.st/mailman/listinfo/cuis-dev</a><br>
<br>
-- <br>
</blockquote>
</div>
</blockquote>
<br>
<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>