Jacek Generowicz
Jacek Generowicz
`Ratio` and `Angle` cannot be multiplied, because of mismatching `Kind`s. Why would I want this to work? Imagine a weighted-mean function, here hard-wired for `Length`: ```rust pub fn mean_weighted_length(data: &[Length],...
Fix #38. Prototype implementations of 1. `&q +/- q` 2. `q +/- &q` 3. `&q +/- &q` Could you check that I'm barking up the right tree, before I try...
Consider this toy function ```rust fn invert(x: Length) -> PerLength { 1.0 / x } ``` 1. Is there a convenient way of defining ad-hoc `Quantity`s such as `PerLength`? Can...
(Is opening issues here, appropriate for asking questions about usage of `uom`? Is there some better place for discussions or asking for help?) In my `uom`-less code, I have something...
Edit: I am now pretty much convinced that there should be an affine and a vector version of *every* `Quantity`, as described in [this comment](https://github.com/iliekturtles/uom/issues/289#issuecomment-1500202543) further down in the thread....
How can one write tests which check for approximate equality of `uom` floats? There are `uom::tests::Test::{assert_approx_eq, approx_eq)` but `uom::tests` is private, so it's not available to `uom` users. External crates...
This is an (incomplete) attempt to provide all the dependencies via the [Nix Package Manager](https://nixos.org/). Unfortunately I am unable to get LTO to work: it compiles, but the Rust version...
I'm really getting to like god-mode, but, for me, the biggest impediment to smooth use seems to be the need to use a modifier (S-) when using G as a...
Rust analyzer assists are not advertised in the sideline. Changing the value of `lsp-ui-sideline-actions-kind-regex` from the default `"quickfix.*\\|refactor.*"` to `".*"` overcomes this. The question is, should these assists be displayed...
Hovering on the *signature* of `inner` in the following sample, gives the signature of `outer`. Hovering on the *definition* of `inner` gives the correct signature of `inner`. ````haskell outer ::...