[ghc-steering-committee] Please review: #515 Relaxing HasField constraints

Richard Eisenberg lists at richarde.dev
Wed Sep 7 11:53:52 UTC 2022


I have raised what may be an important technical objection: https://github.com/ghc-proposals/ghc-proposals/pull/515#issuecomment-1239289647

I like the spirit of this proposal, but it may be out of reach given my linked post. Curious for others' thoughts -- I hope my objection is ill-founded!

Richard

> On Aug 23, 2022, at 4:54 AM, Spiwack, Arnaud <arnaud.spiwack at tweag.io> wrote:
> 
> I don't have much of an opinion on this proposal.
> 
> I do believe that, in the current state, it doesn't discuss in sufficient detail about whether instances should be considered coherent or not by the compiler. This seems to be the most non-trivial choice in the proposal. I've asked for an addition to that respect on the Github thread.
> 
> On Wed, Aug 10, 2022 at 12:58 PM Tom Harding <i.am.tom.harding at gmail.com <mailto:i.am.tom.harding at gmail.com>> wrote:
> Hi all,
> 
> Ollie Charles’ proposal <https://github.com/ghc-proposals/ghc-proposals/pull/515> removes the restrictions placed on HasField instances. Close to my heart, this addresses the problem of creating custom `HasField` instances for record types. I’m in favour of this proposal as it would solve some issues I have encountered, but the floor is open for discussion.
> 
> Thanks,
> Tom
> _______________________________________________
> ghc-steering-committee mailing list
> ghc-steering-committee at haskell.org <mailto:ghc-steering-committee at haskell.org>
> https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee <https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee>
> _______________________________________________
> ghc-steering-committee mailing list
> ghc-steering-committee at haskell.org
> https://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-steering-committee

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-steering-committee/attachments/20220907/bcfb67cf/attachment.html>


More information about the ghc-steering-committee mailing list