You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Implement :unit as Proposed RECOMMENDED in the registry (#922)
* Implement `:unit` as _OPTIONAL_ in the registry
This introduces `:unit` as an optional function, per discussion elsewhere.
* Update registry.md
* Remove stray mentions of "currency"
* Apply suggestions from code review
Co-authored-by: Tim Chevalier <[email protected]>
* Better specify conversion conditions
* Address per-unit comments
* Update spec/registry.md
Co-authored-by: Mark Davis <[email protected]>
* Changes from 2024-11-04 teleconference
- Cleanup the `usage` option (which appeared twice).
- Remove `ordinal` selection and add a note to that effect.
- Clean up text about conversion
* Make `usage` optional
* Add rounding to `:unit`
* Make consistent with other functions
- Replace `Composition` with `Resolved Value`
- Match phrasing to other functions
- Move `Resolved Value` before `Selection` like other functions
* Linkify some terms; add `Unsupported Operation` for one error
* Make section title consistent with other sections
* Address comments
- Change `:unit` to **Proposed**
- Modify `usage` to use valid
- Modify `usage` to be in its own subsection
- Modify `usage` to SHOULD _Unsupported Operation_ when the conversion isn't supported
* Address comments
* Address comments, remove unit conversion
* Move link to unit conversion to correct option
---------
Co-authored-by: Tim Chevalier <[email protected]>
Co-authored-by: Mark Davis <[email protected]>
0 commit comments