I have some record types with overlapping fields. This causes a type mismatch:
type apple = { price : int }type banana = { price : int }
Is it possible to force the type of a record literal to be one or the other?
(Hypothetical syntax)
{ apple.price = 123}
{ banana.price = 123}