[Git][ghc/ghc][wip/unwire-base] 2 commits: Move Control.Monad.Zip into ghc-internal

Matthew Pickering (@mpickering) gitlab at gitlab.haskell.org
Tue Sep 3 14:38:19 UTC 2024



Matthew Pickering pushed to branch wip/unwire-base at Glasgow Haskell Compiler / GHC


Commits:
44505e59 by Matthew Pickering at 2024-09-03T15:37:50+01:00
Move Control.Monad.Zip into ghc-internal

mzip is wired in and therefore needs to be in ghc-internal.

Fixes #25222

Towards #24903

- - - - -
8b91e994 by Matthew Pickering at 2024-09-03T15:37:50+01:00
Unwire the base package

This patch just removes all the functions related to wiring-in the base
package and the `-this-unit-id=base` flag from the cabal file.

After this commit "base" becomes just like any other package and the
door is opened to moving base into an external repo and releasing base
on a separate schedule to the rest of ghc.

Closes #24903

- - - - -


17 changed files:

- compiler/GHC/Builtin/Names.hs
- compiler/GHC/Unit/Types.hs
- libraries/base/base.cabal.in
- libraries/base/src/Control/Monad/Zip.hs
- libraries/base/src/Data/List/NonEmpty.hs
- libraries/ghc-internal/ghc-internal.cabal.in
- libraries/ghc-internal/src/GHC/Internal/Base.hs
- + libraries/ghc-internal/src/GHC/Internal/Control/Monad/Zip.hs
- libraries/ghc-internal/src/GHC/Internal/Data/List/NonEmpty.hs
- testsuite/tests/backpack/should_compile/bkp16.stderr
- testsuite/tests/backpack/should_fail/bkpfail17.stderr
- testsuite/tests/backpack/should_fail/bkpfail19.stderr
- testsuite/tests/iface/IfaceSharingIfaceType.hs
- testsuite/tests/iface/IfaceSharingName.hs
- testsuite/tests/interface-stability/base-exports.stdout
- testsuite/tests/interface-stability/base-exports.stdout-javascript-unknown-ghcjs
- testsuite/tests/interface-stability/base-exports.stdout-mingw32


The diff was not included because it is too large.


View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/db069de5ab77bab6b8a82e540c3f1ff5493829da...8b91e994f202e4a6dfad139be6d7f841879e4a46

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/compare/db069de5ab77bab6b8a82e540c3f1ff5493829da...8b91e994f202e4a6dfad139be6d7f841879e4a46
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20240903/bc95ed7d/attachment.html>


More information about the ghc-commits mailing list