Douglas McClean

Results 130 comments of Douglas McClean

OK, the reason why I don't want to adopt the strings-only approach is because the backend I am writing wants to be able to combine a few types into a...

Fair question. I think we would want to preserve the `read . show = id` property, so I think the most important hurdle would be reaching a resolution of #155...

I agree. I have some changes that I plan to make next week, I will do these changes as well if no one beats me to it.

OK, I have a draft on this that I will submit soon.

Doing this would require exporting the ability to create new metric names. Considering the best way to do that.

I also would like to know this. Unfortunately my Haskell performance measurement knowledge isn't there to know how to find out. The GHC documentation (https://downloads.haskell.org/~ghc/latest/docs/html/users_guide/glasgow_exts.html#unpack-pragma) says that the `UNPACK` machinery...

Definitely this is what we need to do, I'm just not clear on how to do it. In particular I don't know how to write it so that it measures...

I don't know what I'm doing wrong, but it's obviously at least one thing because it says that the wrapped version is 5x faster. Anybody see what's going on? https://github.com/dmcclean/dimensional/blob/improved-benchmarks/benchmarks/Main.hs

`inspection-testing` may also be an approach here, for things that are supposed to be zero-cost.

I will tackle this as part of my work on `PresentationQuantity d a` as an intermediate stop between `Quantity d a` and string/text/HTML/LaTeX. On Jun 2, 2018 5:45 AM, "Björn...