Units of Measure in F#

BCS ao at pathlink.com
Tue Oct 7 11:39:10 PDT 2008


Reply to bearophile,

> 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

SVN is working again (or I'm somewhere it works from)

http://www.dsource.org/projects/scrapple/browser/trunk/units/

take a look at si.d first as it's the most useful intro (look way down at 
the bottom)





More information about the Digitalmars-d mailing list