Skip to content

GHC is going to introduce breakage that will affect this library at version 9.14 #165

@s-and-witch

Description

@s-and-witch

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).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions