You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello! According to the accepted GHC Proposal 583 "HasField redesign", the order of arguments for setField function, used by OverloadedRecordUpdate should be flipped.
My impact analysis through hackage showed that it will affect libraries in this repository (namely large-records and large-anon). I want to ship this change with a future version of GHC (I assume that it would be 9.14) because it will unblock implementation of other parts of the proposal. Here is my merge request, that would introduce the change: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/13722
I'm creating this issue, so you would be aware of this problem and may update the libraries accordingly to soften the breakage (e.g. use -XCPP to alternate the definition of your setField function).