[Cuis-dev] I just ported printf to Cuis
Rafael Ignacio Matías Sniechowski
0800nacho at gmail.com
Tue Aug 17 06:08:31 PDT 2021
Except in C where is "dangerous" hahaha
*Ignacio Sniechowski*
On Tue, Aug 17, 2021 at 10:06 AM Nicola Mingotti <nmingotti at gmail.com>
wrote:
>
> Hi Nacho,
>
> happy to see somebody else like it.
>
> i have 'printf' in all of my programming env. from Node to Ruby
> ... It must be also in Cuis :)
>
>
> bye
> Nicola
>
>
>
>
>
>
> On 8/17/21 12:31 PM, Rafael Ignacio Matías Sniechowski wrote:
>
> Thank you so much!!
> I'm cloning your repo right now!
> I really needed this
> Cheers
> Nacho
>
> *Ignacio Sniechowski*
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Mon, Aug 16, 2021 at 11:15 AM Nicola Mingotti via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>>
>> Hi guys,
>>
>> I ported printf from Squeak to Cuis. Zero dependencies.
>> I change almost nothing.
>>
>> I did it mostly because i need to format numbers in the classic way.
>> For dates, currencies etc.
>>
>> The package is here:
>> https://github.com/nmingotti/Cuis-Smalltalk-Printf.git
>>
>> ----------- example
>> Feature require: 'Printf'.
>>
>> 'foo %d bar' printf: {123}. "=> 'foo 123 bar' "
>> 'foo %.5f bar' printf: {123.12}. "=> 'foo 123.12000 bar' "
>> ----------
>>
>>
>> bye
>> Nicola
>>
>>
>>
>>
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cuis.st/mailman/archives/cuis-dev/attachments/20210817/79c1bea5/attachment-0001.htm>
More information about the Cuis-dev
mailing list