by TuringTest · 11y ago · 0 comments
Tie the type definition to the point where the data is created. Default to the local definition, but have a way to select the other one if you need some particular interaction between modules. Wouldn't that solve the conflict?
At which point you have basically reinvented "newtype"