[Cuis-dev] Installing Aconcagua

Ces VLC cesarillovlc at gmail.com
Wed Dec 30 12:53:39 PST 2020


Thanks a lot, Hernán and Ken! Yes, Hernán, I'll be using Aconcagua classes
for creating variables that have units. And BTW, seeing how Aconcagua
works, it just came to my mind that Smalltalk would make a perfect language
for developing a CAS (it even has big ints)... and then after a bit of
search I found https://github.com/len/Domains which is developed on Cuis!!!
It's very good that a CAS exists for Cuis (well, I didn't try it yet, I
don't know how complete it is, and the wiki seems not to have tutorials,
but it looks promising).

Anyway, that's a different thing, the idea just came to my mind when seeing
Aconcagua in action :-)

I think I won't make meter and other basic units as global objects, I'll
use other names or encapsulate them somehow.

Thanks a lot!

César



On Wed, Dec 30, 2020 at 7:43 PM Hernan Wilkinson via Cuis-dev <
cuis-dev at lists.cuis.st> wrote:

> Hi Cesar!
>  so cool you want to use Aconcagua :-)
>
>  Regarding your questions, if you want meter to be a global object you
> have to evaluate:
> UnitsTestResource  installUnitsAsGlobals.
>
>  If you do that, then you will be able to evaluate 2 * meter or  10 *
> fahrenheit and so on.
>  We do not create global units by default, we let the user do if they want.
>  Remember that you can create your own units as Ken shows.
>
>  I hope this helps. If you have any questions please let me know!
>
> Cheers,
> Hernan
>
>
>
> On Wed, Dec 30, 2020 at 3:31 PM ken.dickey--- via Cuis-dev <
> cuis-dev at lists.cuis.st> wrote:
>
>> On 2020-12-30 07:48, ken.dickey--- via Cuis-dev wrote:
>> ..
>> > I suspect you need to define #meter.
>>
>> Unit tests are your friend.
>>
>> in MultipliedUnitTest>>setUp
>>
>> BaseUnit named: 'meter' sign: 'm'.
>>
>>
>> So
>>    SimpleMeasure amount: 2 unit: (BaseUnit named: 'meter' sign: 'm').
>> "--> 2 meters "
>>
>> HTH,
>> -KenD
>> --
>> Cuis-dev mailing list
>> Cuis-dev at lists.cuis.st
>> https://lists.cuis.st/mailman/listinfo/cuis-dev
>>
>
>
> --
>
> *Hernán WilkinsonAgile Software Development, Teaching & Coaching*
> *Phone: +54-011*-4893-2057
> *Twitter: @HernanWilkinson*
> *site: http://www.10Pines.com <http://www.10pines.com/>*
> Address: Alem 896, Floor 6, Buenos Aires, Argentina
> --
> 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/20201230/917bd9be/attachment.htm>


More information about the Cuis-dev mailing list