Open andrevidela opened 9 months ago
I've got some code that performs a division that removes all dimensions
a :: Mass SI n b :: Mass SI n c :: Qu '[] SI n c = a |/| b
I need to extract this n for further processing by another library. Would it make sense to add
n
extract :: Qu '[] l n -> n extract = coerce
?
Looks reasonable to me. Please do submit a PR! Thanks.
I've got some code that performs a division that removes all dimensions
I need to extract this
n
for further processing by another library. Would it make sense to add?