[racket] Numbers with dimensions

From: Laurent (laurent.orseau at gmail.com)
Date: Sat Oct 26 07:20:38 EDT 2013

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:


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20131026/cf3ded06/attachment.html>

Posted on the users mailing list.