[racket] Numbers with dimensions
In case you need ideas for interesting examples:
http://futureboy.us/frinkdocs/#SampleCalculations
The Frink language is a DSL for calculating with units.
http://futureboy.us/frinkdocs/
/Jens Axe
2013/10/26 Laurent <laurent.orseau at gmail.com>:
> Ok, so I just hacked together a small lib for handling numbers with unit
> symbols and exponents:
>
> Quick example:
>> (measure->value
> (m* '(18 s)
> '(1600 km (h -1))
> '(1000 m (km -1))
> '(1/3600 h (s -1))))
> '(8000 m)
>
> You can get it with:
> $ raco pkg install measures
> or from the File menu in DrRacket, if you have a recent version of Racket
> (strictly > 5.3.6).
>
> Examples and details here:
> https://github.com/Metaxal/measures
>
> HTH,
> Laurent
>
>
> On Fri, Oct 25, 2013 at 12:51 AM, Alvin Schatte <AlvinSchatte at skytex.net>
> wrote:
>>
>> Is there a library or package that combines numbers and their operations
>> with dimensions that may be associated with them?
>> Alvin Schatte
>>
>> ____________________
>> Racket Users list:
>> http://lists.racket-lang.org/users
>>
>
>
> ____________________
> Racket Users list:
> http://lists.racket-lang.org/users
>
--
--
Jens Axel Søgaard