Hi Yousef, Yes, I anticipate that there will be a simpler way to add units sometime, probably via a macro. However, my concern first and foremost is to make sure that operations involving units do not fail unexpectedly, particularly where ranges, arrays, and matrices are involved. This is really key for widespread adoption, I think, as well as for my own application. I'd also like to make it so that exact conversions are preserved where possible (see issue #3 on the Github page). In the meantime, you're welcome to submit a pull request for the units you need, or just modify your local copy.
Thanks to everyone for the positive feedback! It looks like there was a recent commit to Julia master that may introduce some breakage—I'll prioritize fixing that once the Mac OS X binary for Julia is updated. I may fix it sooner since I was able to build master. Best Andrew On Tuesday, February 16, 2016 at 6:11:52 AM UTC-8, [email protected] wrote: > > Hello Andrew, > > Your work is very promising. If you have ever dealt with oil field > equations, then you'll know that units are a headache to deal with. > Your package should make life much easier. > > I'm curious, however, as if you'll implement an easier means of defining > new units. > Something like a function that takes a unit, its base factor, and its > conversion to SI units, then gets it working in Unitful. > > Thanks again for your work, > Yousef >
