[racket] Numbers with dimensions

From: Laurent (laurent.orseau at gmail.com)
Date: Sun Oct 27 09:34:11 EDT 2013

That's a cool language!
Unfortunately time is running short and I don't think I'll do something
close to that (and there is actually little chance that I'll use this
package myself, so I'm not really committed to it).
But I think it's already quite usable.
And anyone who wants to contribute or even take it over is welcome.


Laurent


On Sun, Oct 27, 2013 at 12:31 PM, Jens Axel Søgaard
<jensaxel at soegaard.net>wrote:

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

Posted on the users mailing list.