Units of Measure in F#
bearophile
bearophileHUGS at lycos.com
Tue Oct 7 06:52:49 PDT 2008
BCS:
> svn.dsource.org seems to be having problmes or I'd post a system I just
> put together.
> total code, WS comments: ~ 400 LOC
> supports 44 different units,
> support +,-,* and / as well as pow and root
A lot of work. Does is use a (syntax) strategy similar to this?
http://www.boost.org/doc/libs/1_36_0/doc/html/boost_units.html
Now D just needs a pow infix operator (** ?) and that's done :-)
Bye,
bearophile
More information about the Digitalmars-d
mailing list