4 ms·
From the article @ "Units of Measure at runtime and interoperability ": One key point to take heed of, is that units of measure do not exist at runtime. They a
by ghuntley 12y ago
From the article @ "Units of Measure at runtime and interoperability
":
One key point to take heed of, is that units of measure do not exist at runtime.
They are intended for static type checking only and therefore prevent us implementing functionality based on checking units.
They are also not part of the wider .NET type system and can therefore not be consumed, or used, by any non F# assembly.
If exposing units of measure to consumers, the units are simply not visible and all values will be treated as there underlying, dimensionless type.
- M8 12y agoYes, that's the biggest problem with them.