Douglas McClean
Douglas McClean
Open questions about this: What is the spacing when the unit is `degree / second`? Should it really be no space at all? Or some sort of zero-width space character?...
So I think on the basis of those answers that perhaps `NameAtom`s come with a field that specifies whether they, when appearing in some sort of distinguished lead position within...
My intent is to do it in several phases. `PresentationNumber` will be a type that describes the abstract syntax of a number exactly as it will be printed / was...
(Beware of dragons when the quantity is negative, and be sure to document that case well.)
Maybe the general one is: `split :: (RealFrac a, Integral b) => Unit d a -> Quantity d a -> (b, Quantity d a)` Then you can repeat the process...
There is a serious thorn here. Suppose you are doing DMS, and you want to format the seconds with 3 digits after the decimal place, using something like `showFFloat (Just...
I still don't know of a polymorphic way to do this and avoid the rounding issue in my previous comment. So I'm leaning towards doing it monomorphically. I just need...
Possibly. I think I am making progress on the polymorphic way of doing it by including some functions in my `PresentationFormat d a` type. See #163 for another stepping stone...
That split into `appropriatePrefix` and `withAppropriatePrefix` ignores some concerns about the fact that the appropriate prefix is sometimes no prefix at all. Change the return type of `appropriatePrefix` to be...
Another possible concern here is that `deka`, `hecto`, `deci`, and `centi` are second-class citizens in actual usage, even if that status doesn't appear to be codified anywhere that I could...