Björn Buckwalter

Results 59 comments of Björn Buckwalter

Hmm… it seems the doctests (more specifically the way the test suite is set up) are more generally broken. This works: ``` $ stack exec doctest src -- -XNoStarIsType Examples:...

I'm sorry but we don't really have a good story for this (yet?). That is the short answer. I have a rudimentary linear algebra library at [bjornbm/dimensional-homo](https://github.com/bjornbm/dimensional-homo) (not on Hackage)...

I'll look into it! What are your thoughts?

I don't have any objections or strong feelings about the direction to take. Reusing what we have without introducing new types might be more economical in terms of exposed API?...

I have no objections. > On 2015-12-09, at 00:55, Douglas McClean [email protected] wrote: > > I propose moving the experimentally defined units to dimensional-codata where they can be versioned alongside...

One way could be to write some benchmarks (using [criterion](http://www.serpentine.com/criterion/)?) where we perform the equivalent calculations using dimensional and using straight `Double`s and compare the timing. The original (2006-ish) idea...

Strange indeed. Try these and note the difference between `RawSum1` and `RawSum2`: ``` [ bench "Sum1" $ nf sum xs , bench "Sum2" $ nf (P.sum . (/~~ siUnit)) xs...

Good questions. “2°/s” always looked a bit iffy to me, but couldn't say if it is “wrong”. I might write “2° s^-1”. I would have written “30°22'8"” which is consistent...

A little complex but maybe necessary. By the way, do you intend to provide the user with controls in the pretty printing functions for, for example, specifying if spaces or...

Could [`Data.Decimal`](https://hackage.haskell.org/package/Decimal-0.4.2/docs/Data-Decimal.html) be useful? (I don't know if it adds anything you cannot get from, e.g., `Scientific`.)