我在 Haskell Playground 上有个最小例子,有办法让这段代码编译通过吗?我不知道怎么告诉 GHC,我想更新的是 A 类型。搜索主要找到 GHC 的用户指南和下面这个 stackoverflow 问题 https://stackoverflow.com/questions/47854019/disambiguate-record-update-with-duplicaterecordfields
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