i've got a minimal example on Haskell Playground, can this code be made to compile somehow? i can't figure out how to tell GHC that the update should target type A. searching mostly finds GHC's user guide alongside the following stackoverflow question https://stackoverflow.com/questions/47854019/disambiguate-record-update-with-duplicaterecordfields
Can record updates be disambiguated explicitly?
The conversation continues 3
Other sides of the same question
How can I subclass a class inside another class?
Hi, In a package whose code is outside my control, there is a hierarchy of classes arranged as follows: I'm trying to add a w…
Comparing have with let bindings in Lean4
I've observed that these two expressions and behave identically. This also happens in theorem proofs. Are they interchangeabl…
TypeScript Map initialization with string array entries
I'm creating a Map whose entries each hold an array of strings. How can I declare its type and initialize it together in one…