The §40 record, verbatim in shape and read-only in fact.
§40 writes the fields mutable; resolveUnitSystem returns a frozen
value and the type says so, because a record that half the UI has captured
and one component mutates is a bug with no good failure mode. Build a new one
instead — it is four strings and two numbers.
The §40 record, verbatim in shape and read-only in fact.
§40 writes the fields mutable; resolveUnitSystem returns a frozen value and the type says so, because a record that half the UI has captured and one component mutates is a bug with no good failure mode. Build a new one instead — it is four strings and two numbers.