3 ms·
> Does it know N=kg m/s^2 for example? F# does if you tell it, i.e.: [<Measure>] type kg = g [<Measure>] type m [<Measure>] type s [<Measure>] typ
by int_19h 5y ago
> Does it know N=kg m/s^2 for example?
F# does if you tell it, i.e.:
[<Measure>] type kg = g
[<Measure>] type m
[<Measure>] type s
[<Measure>] type N = kg * m / s^2
Although, of course, in practice you'd probably just use whatever's defined in https://fsharp.github.io/fsharp-core-docs/reference/fsharp-data-unitsystems-si-unitsymbols.html https://fsharp.github.io/fsharp-core-docs/reference/fsharp-d...
Not for log units tho.