Coverage report: /home/ellis/comp/core/std/macs/unit.lisp
Kind | Covered | All | % |
expression | 0 | 26 | 0.0 |
branch | 0 | 0 | nil |
Key
Not instrumented
Conditionalized out
Executed
Not executed
Both branches taken
One branch taken
Neither branch taken
7
;; ref: https://www.dot.state.wy.us/files/live/sites/wydot/files/shared/Highway_Development/Surveys/Survey%20Manual/Appendix%20G%20-%20Units%20of%20Measure.pdf
10
(in-package :std/macs)
12
(defmacro! defunits (quantity base-unit &rest units)
14
(defmacro ,(symbolicate 'unit-of- quantity) (,g!val ,g!un)
20
,(std/prim::defunits-chaining
27
(deftype ,(symbolicate quantity '-designator) ()
28
'(member ,@(loop for k in units by 'cddr
29
collect (keywordicate k))))))
37
yard 9144/10000 ; Defined in 1956
42
fathom (2 yard) ; Defined in 1929
44
cable (1/10 nautical-mile)
45
light-year (9.4607e+12 mile))