Teodor Heggelund
Teodor Heggelund
Thanks a lot for the writeup! That really helps me with context. I'm looking forward to digging into this. :crossed_fingers:
@sritchie , 1. Thanks a bunch for your thorough writeup above. That really helped me get started. 2. I think I'm starting to understand how it all fits together. I'm...
I'll need to look at `sicmutils.generic/def-generic-function` dispatching to see how that could work with units. Ideas: 1. unit info in metadata 2. "high-priority" unit-aware defmethods that handles units, and delegates...
working title: _should we support late-bound units?_ Scmutils treats units for numbers and symbols the same: either all units are set in advance, or there's no units. It cannot _await_...
Motivation for _late bound units_: support [Dimensional analysis][1] [1]: https://en.wikipedia.org/wiki/Dimensional_analysis
_How should units be printed?_ In Scheme, there's global namespacing. scmutils simply prints meters as `&meter`, where `&meter` is available globally. That doesn't work with Clojure namespaces. EDN reader tags...
Custom unit systems does sound a little scary. I'm not _that_ comfortable writing macros. Starting out with providing working SI units sounds like a good idea to me. Though let's...
_Can we multiply numbers from different unit system?_ `scmutils` says no: ```scheme 1 ]=> (define-unit-system 'teod (list '&dollar "$" "dollar")) #| teod |# 1 ]=> (* 1 &dollar) #| &dollar...
1. I think version as data managed by neil is an amazing idea. 2. I'm slightly worried about us confusing users about the meaning of "version". Is the idea to...
Option: `neil --neil-version` to print neil's version. Assumes the user mostly cares about the version of their own project.