
Dear devs Building 'nofib' with HEAD fails with real/scs/Parse.hs:40:19: error: [GHC-87543] Ambiguous occurrence ‘List’. It could refer to either ‘Data.List.List’, imported from ‘Data.List’ at real/scs/Parse.hs:4:1-16 (and originally defined in ‘GHC.Types’), or ‘Types.List’, imported from ‘Types’ at real/scs/Parse.hs:8:1-12. | 40 | list :: Parser List | ^^^^ This is because of a change in the export list of Data.List. The fix is easy (hide the import of List). But I don't know how to update nofib and the subdmodule magic to make HEAD pick the new version. Could anyone possible execute on this? Thanks Simon

Hi Simon, To modify nofib, simply submit a merge request to https://gitlab.haskell.org/ghc/nofib with the appropriate change. Once it's integrated, run `git submodule update --remote` in the GHC repo to update the submodule and push the update as part of your work. Cheers, Hécate Le 10/11/2023 à 13:34, Simon Peyton Jones a écrit :
Dear devs
Building 'nofib' with HEAD fails with
real/scs/Parse.hs:40:19: error: [GHC-87543] Ambiguous occurrence ‘List’. It could refer to either ‘Data.List.List’, imported from ‘Data.List’ at real/scs/Parse.hs:4:1-16 (and originally defined in ‘GHC.Types’), or ‘Types.List’, imported from ‘Types’ at real/scs/Parse.hs:8:1-12. | 40 | list :: Parser List | ^^^^
This is because of a change in the export list of Data.List. The fix is easy (hide the import of List).
But I don't know how to update nofib and the subdmodule magic to make HEAD pick the new version.
Could anyone possible execute on this? Thanks
Simon
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Hécate ✨ 🐦: @TechnoEmpress IRC: Hecate WWW:https://glitchbra.in RUN: BSD

Thank you. I could try that but I'm totally submerged at the moment.
Is it possible that someone might feel up to actioning this? It's
unrelated to my work -- it's just a bug in HEAD.
Simon
On Fri, 10 Nov 2023 at 13:02, Hécate via ghc-devs
Hi Simon,
To modify nofib, simply submit a merge request to https://gitlab.haskell.org/ghc/nofib with the appropriate change. Once it's integrated, run `git submodule update --remote` in the GHC repo to update the submodule and push the update as part of your work.
Cheers, Hécate Le 10/11/2023 à 13:34, Simon Peyton Jones a écrit :
Dear devs
Building 'nofib' with HEAD fails with
real/scs/Parse.hs:40:19: error: [GHC-87543] Ambiguous occurrence ‘List’. It could refer to either ‘Data.List.List’, imported from ‘Data.List’ at real/scs/Parse.hs:4:1-16 (and originally defined in ‘GHC.Types’), or ‘Types.List’, imported from ‘Types’ at real/scs/Parse.hs:8:1-12. | 40 | list :: Parser List | ^^^^
This is because of a change in the export list of Data.List. The fix is easy (hide the import of List).
But I don't know how to update nofib and the subdmodule magic to make HEAD pick the new version.
Could anyone possible execute on this? Thanks
Simon
_______________________________________________ ghc-devs mailing listghc-devs@haskell.orghttp://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Hécate ✨ 🐦: @TechnoEmpress IRC: Hecate WWW: https://glitchbra.in RUN: BSD
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs

Hi folks,
I had a spare minute, so I've made some MRs to fix this:
- https://gitlab.haskell.org/ghc/nofib/-/merge_requests/71
- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/11592
Cheers,
Teo
On Fri, Nov 10, 2023 at 8:55 PM Simon Peyton Jones
Thank you. I could try that but I'm totally submerged at the moment.
Is it possible that someone might feel up to actioning this? It's unrelated to my work -- it's just a bug in HEAD.
Simon
On Fri, 10 Nov 2023 at 13:02, Hécate via ghc-devs
wrote: Hi Simon,
To modify nofib, simply submit a merge request to https://gitlab.haskell.org/ghc/nofib with the appropriate change. Once it's integrated, run `git submodule update --remote` in the GHC repo to update the submodule and push the update as part of your work.
Cheers, Hécate
Le 10/11/2023 à 13:34, Simon Peyton Jones a écrit :
Dear devs
Building 'nofib' with HEAD fails with
real/scs/Parse.hs:40:19: error: [GHC-87543] Ambiguous occurrence ‘List’. It could refer to either ‘Data.List.List’, imported from ‘Data.List’ at real/scs/Parse.hs:4:1-16 (and originally defined in ‘GHC.Types’), or ‘Types.List’, imported from ‘Types’ at real/scs/Parse.hs:8:1-12. | 40 | list :: Parser List | ^^^^
This is because of a change in the export list of Data.List. The fix is easy (hide the import of List).
But I don't know how to update nofib and the subdmodule magic to make HEAD pick the new version.
Could anyone possible execute on this? Thanks
Simon
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
-- Hécate ✨ 🐦: @TechnoEmpress IRC: Hecate WWW: https://glitchbra.in RUN: BSD
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
_______________________________________________ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs
participants (3)
-
Hécate
-
Simon Peyton Jones
-
Teofil Camarasu