Mads M. Jensen

Results 73 comments of Mads M. Jensen

> Maybe it's useful to do a bit of research into similar tools (see #536, #19). It's not like we *have* to use ace.js either. It's just something that worked...

I think a [Maple](https://www.maplesoft.com/products/maple/) style interface would fit numbat well. It is a variation of the editor interface, but a style that I think would be well suited for many...

> Maybe this is a better ace alternative? Hmm that is definitely worth checking out. I'll take a look at it and see if it might be a better fit.

This also makes the order of precedence confusing as the implicit multiplication should have higher precedence than the explicit one, but with parentheses, the explicit multiplication is required. I'll also...

It is likely due to the underlying number representation. See #682 for another example and a bit of explanation. Also see #4 for some a history of considered alternatives. I’m...

To add a bit of detail to the report and give an explanation of the problem, I used `assert_eq` to provide some details: ![Image](https://github.com/user-attachments/assets/5e659798-ffc8-4c0f-9965-98d073fe2998)

I have actually been thinking about how having lazy loaded values could be useful for function local variables. I have often needed to use an if-then-else expression to ensure that...

Another approach could be to change the subtraction. Instead of using the left hand side to get the unit, we could always use the smaller unit instead. I haven't fully...

> Is it possible that this function could be added to the vscode extension somehow? could be a preview pane or perhaps inlaid into the editor Should be possible, but...

I just tried the same thing with `unit example = sqrt(m)` and got an error about recursion in rust. See example [here](https://numbat.dev/?q=unit+test+%3D+sqrt%28kg%29⏎unit+example++%3D+sqrt%28m%29⏎) To make it happen you have to write...