у меня есть минимальный пример в 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