<!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">
On 8/20/2021 9:59 AM, Nicola Mingotti via Cuis-dev wrote:
<blockquote
cite="mid:c4d99f6f-a4bf-64c0-c91e-327fb8af10be@gmail.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<br>
<br>
<div class="moz-cite-prefix">On 8/19/21 5:27 PM, Juan Vuletich
wrote:<br>
</div>
<blockquote type="cite" cite="mid:611E786B.90401@jvuletich.org">
<meta content="text/html; charset=UTF-8"
http-equiv="Content-Type">
On 8/16/2021 11:15 AM, Nicola Mingotti via Cuis-dev wrote:
<blockquote
cite="mid:c440fb14-11b3-5ab2-83de-9b1b746d6f86@gmail.com"
type="cite">
<meta http-equiv="content-type" content="text/html;
charset=UTF-8">
<br>
<font size="+1"><font face="monospace">Hi guys,<br>
<br>
I ported printf from Squeak to Cuis. Zero dependencies. <br>
I change almost nothing.<br>
<br>
I did it mostly because i need to format numbers in the
classic way.<br>
For dates, currencies etc. <br>
<br>
The package is here: <br>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="https://github.com/nmingotti/Cuis-Smalltalk-Printf.git">https://github.com/nmingotti/Cuis-Smalltalk-Printf.git</a><br>
<br>
----------- example <br>
Feature require: 'Printf'. <br>
<br>
'foo %d bar' printf: {123}. "=> 'foo 123 bar' "<br>
'foo %.5f bar' printf: {123.12}. "=> 'foo 123.12000
bar' "<br>
----------<br>
<br>
<br>
bye<br>
Nicola<br>
</font></font></blockquote>
<br>
Hi Nicola,<br>
<br>
This is very nice!<br>
<br>
I think we'd add it to <a class="moz-txt-link-freetext"
href="https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/tree/master/Packages/Features"
moz-do-not-send="true">https://github.com/Cuis-Smalltalk/Cuis-Smalltalk-Dev/tree/master/Packages/Features</a>
.Would that be OK? If you agree, you might pull your
Cusi-Smalltalk-Dev repo, add the package, and do a pull request.
If you wish, you can add the info in your README.md in a file
named Printf.md, or in a class comment. Doing it this way makes
GitHub commit info correctly show you as the contributor.<br>
<br>
Thanks,<br>
<pre class="moz-signature" cols="72">--
Juan Vuletich
</pre>
</blockquote>
<br>
Hi Juan, <br>
<br>
sure, being a very basic and little function it is better placed
near the core system.<br>
<br>
I added a few methods with 'readme' and 'comments' .Of course the
readme for now is only a stub.<br>
<br>
I did the Github procedure, i hope i did it right !<br>
<br>
bye<br>
Nicola<br>
</blockquote>
<br>
Merged!<br>
<br>
Thanks,<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>