Closed OAGr closed 1 year ago
not quite a duplicate cuz it's more general but time was originally discussed in https://github.com/QURIresearch/squiggle/issues/7
Ozzie in #186 :
MathJS has a notion of units. It would be excellent to have some of this available in the interpreter; specifically, the aspects about time. We should be able to handle units of datetime, and units of time length, very well.
Most of this seems stale.
Should this, #400 and #7 all be be closed?
I'm not sure if this is relevant here, but it'd be useful if there was some more customizability for units/charts!
Maybe the two quickest fixes:
Todo
Ozzie's original issue kickoff:
Eventually, we will want to have a decent system for managing simple units, especially time.
This following elm example provides a nice API that could be worth emulating.
https://package.elm-lang.org/packages/ianmackenzie/elm-units/latest/