On Tue, Mar 11, 2014 at 4:03 PM, Iustin Pop <iusty@k1024.org> wrote:> Looking at your documentation, I see a lot of sense behind implementing> different units (Horsepower vs. Watts), but I'm not so sure about (for> example) g/kg or m/cm/mm. These are just (SI) scaling factors, so should> they be treated the same as individual units?Depends on if the difference shows up to the user. I've been using acalculator/scripting language (Frink) for years that has this kind offacility, and while I know that they are just scaling factors, I stilltreat them as different types of units. That may be because I grew upusing imperial units, and inches/feet/yards/miles don't allow forbeing treated that way.> For just the scaling factors, I released last year> http://hackage.haskell.org/package/prefix-units, and I'm wondering if we> couldn't somehow combine these two libraries. After all, "k" applies> both to KG and KW :)Yes, but "KV" is not _always_ a kilovolt. When used on an electricalmotor, it's a measure of how many thousands of RPM you can expect themotor to turn when for each volt of power it's fed. I'm hoping to getaround to desiging the power system for a multirotor this year, andwill be interesetd to see how various tools deal with this issue.<mike
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@haskell.org
http://www.haskell.org/mailman/listinfo/haskell-cafe