<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html lang="en" style='--code-editor-font: var(--default-mono-font, "GitLab Mono"), JetBrains Mono, Menlo, DejaVu Sans Mono, Liberation Mono, Consolas, Ubuntu Mono, Courier New, andale mono, lucida console, monospace;'>
<head>
<meta content="text/html; charset=US-ASCII" http-equiv="Content-Type">
<title>
GitLab
</title>

<style data-premailer="ignore" type="text/css">
a { color: #1068bf; }
</style>


<style>img {
max-width: 100%; height: auto;
}
body {
font-size: .875rem;
}
body {
-webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px;
}
body {
font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji"; font-size: inherit;
}
</style>
</head>
<body style='font-size: inherit; -webkit-text-shadow: rgba(255,255,255,.01) 0 0 1px; font-family: "GitLab Sans",-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Noto Sans",Ubuntu,Cantarell,"Helvetica Neue",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";'>
<div class="content">

<h3 style="margin-top: 20px; margin-bottom: 10px;">
Marge Bot pushed to branch wip/marge_bot_batch_merge_job at <a href="https://gitlab.haskell.org/ghc/ghc">Glasgow Haskell Compiler / GHC</a>
</h3>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
Commits:
</h4>
<ul>
<li>
<strong style="font-weight: 600;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/023f36f516aa4bd9453903d5039cf8eec6010731">023f36f5</a></strong>
<div>
<span> by Rodrigo Mesquita </span> <i> at 2025-01-10T14:57:48-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #28272d; position: relative; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>user_guide: Note -pgmP/-optP are for /Haskell/-CPP

Fixes #25574
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/e1c133f2fed2c006b1158fc2d6b33aa8b9069b2e">e1c133f2</a></strong>
<div>
<span> by Ben Gamari </span> <i> at 2025-01-10T14:58:25-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #28272d; position: relative; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>dump-decls: Suppress unit-ids

While the testsuite driver already normalizes these away, they are
nevertheless a severe nuisance when diffing outside of the testsuite.

Intriguingly, this doesn't completely eliminate the unit IDs; some
wired-in names are still printed. However, this is a cheap and helpful
improvement over the status quo so I am simply going to accept this.

Fixes #25334.
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/15b243c0fc3d0a1168cbd743bc8075999e7c3962">15b243c0</a></strong>
<div>
<span> by Mike Pilgrem </span> <i> at 2025-01-11T08:44:11-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #28272d; position: relative; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>Re CLC #300 - Specify fmap for NonEmpty as map

See:
* https://github.com/haskell/core-libraries-committee/issues/300

Seeks to:
* move existing instances for NonEmpty (except of Eq and Ord) out of GHC.Internal.Base into new GHC.Internal.Data.NonEmpty (to avoid otherwise unavoidable cycles in the module graph);
* move map out of Data.List.NonEmpty (base package) into GHC.Internal.Data.NonEmpty;
* define fmap as map for NonEmpty instance of Functor, avoiding code duplication;
* re-export map from existing GHC.Internal.Data.List.NonEmpty; and
* re-export map from Data.List.NonEmpty (base package);

without breaking anything in the GHC repository.

Various tests *.stdout and *.stderr files are amended also.
</pre>
</li>
<li>
<strong style="font-weight: 600;"><a href="https://gitlab.haskell.org/ghc/ghc/-/commit/669b8b42c0d913d8a9b30570eb3169e79313c3f3">669b8b42</a></strong>
<div>
<span> by Patrick </span> <i> at 2025-01-11T08:44:12-05:00 </i>
</div>
<pre class="commit-message" style='white-space: pre-wrap; display: block; font-size: 14px; color: #28272d; position: relative; font-family: "GitLab Mono","JetBrains Mono","Menlo","DejaVu Sans Mono","Liberation Mono","Consolas","Ubuntu Mono","Courier New","andale mono","lucida console",monospace; word-break: break-all; word-wrap: break-word; background-color: #fbfafd; border-radius: 2px; margin: 0; padding: 8px 12px; border: 1px solid #dcdcde;'>Fix #25611. Enhances the kind inference for data family instances,
by including the RHS's constraints when kind-checking LHS.

Type checker changes:
In `tcDataFamInstHeader`, `kcConDecls` the H98-style decls
and newtype decls, even those in GADT syntax, but NOT for
general GADT decls.

Testsuite changes:
1. The test to ensure kind specialization remains correctly handled even
   if we include the RHS's constrains:
      * T25611d
2. Infer result kind from datacon.
      * H98 newtype case: T25611a
      * H98 data case: T25611b
3. Two tests with additional errors report:
      * UnliftedNewtypesFamilyKindFail2
      * UnliftedNewtypesInstanceFail
4. Due to better kind inference,
   move should_fail test UnliftedNewtypesUnassociatedFamilyFail
   to should_compile test T25611c.
5. Additional test to we default the kind of the data instance correctly
   without UnliftedNewtypes or UnliftedDatatypes:
      * DataInstanceKindsDefaults

Also a few notes are updated to reflect the changes.

Co-authored-by: Simon Peyton Jones <simon.peytonjones@gmail.com>
</pre>
</li>
</ul>
<h4 style="margin-top: 10px; margin-bottom: 10px;">
30 changed files:
</h4>
<ul>
<li class="file-stats">
<a href="#9355bef855426caf5f526925edf351b20f9a86c4">
compiler/GHC/Tc/Gen/HsType.hs
</a>
</li>
<li class="file-stats">
<a href="#83d23a46bb6cdc8b1edc16f1fd2c8f5c53e2c9ca">
compiler/GHC/Tc/TyCl.hs
</a>
</li>
<li class="file-stats">
<a href="#e63425e031ffe9350ee6b1687e506aaea75d11e1">
compiler/GHC/Tc/TyCl/Instance.hs
</a>
</li>
<li class="file-stats">
<a href="#12f1226bde7e9f48203d34d8d857513f2f1f4d75">
docs/users_guide/phases.rst
</a>
</li>
<li class="file-stats">
<a href="#392e9dfd3417e267d708c5ab16536f2994d43745">
libraries/base/changelog.md
</a>
</li>
<li class="file-stats">
<a href="#bb99dcdd1145e72572944a803ab3b333da8a2489">
libraries/base/src/Data/List/NonEmpty.hs
</a>
</li>
<li class="file-stats">
<a href="#68d643353c591e76c6239dd2abb39123dbc1ad3c">
libraries/base/src/Data/Semigroup.hs
</a>
</li>
<li class="file-stats">
<a href="#658fa064028089d13fd5ed47614667aef36cd7a8">
libraries/base/src/GHC/Base.hs
</a>
</li>
<li class="file-stats">
<a href="#463c72332b99752eebac4f2f2744351289121f2d">
libraries/ghc-internal/ghc-internal.cabal.in
</a>
</li>
<li class="file-stats">
<a href="#ba249a32ecf4af1ebf439d603c59e49a4ff5d604">
libraries/ghc-internal/src/GHC/Internal/Base.hs
</a>
</li>
<li class="file-stats">
<a href="#a2dc3f40a1ee876db464c111a95d3b64583d9272">
libraries/ghc-internal/src/GHC/Internal/Control/Monad/Fix.hs
</a>
</li>
<li class="file-stats">
<a href="#b34aba3c50cb371d5ea0121337be127022149660">
libraries/ghc-internal/src/GHC/Internal/Control/Monad/Zip.hs
</a>
</li>
<li class="file-stats">
<a href="#fc3bd5253b4462a655967621fd36e0c897f9bff1">
libraries/ghc-internal/src/GHC/Internal/Data/Data.hs
</a>
</li>
<li class="file-stats">
<a href="#5deafdbd5900a62f8f5d3b24ccd1ff22a5edb1e6">
libraries/ghc-internal/src/GHC/Internal/Data/Foldable.hs
</a>
</li>
<li class="file-stats">
<a href="#798efe842aea4d8978cec65c4e5173aa30b77804">
libraries/ghc-internal/src/GHC/Internal/Data/List/NonEmpty.hs
</a>
</li>
<li class="file-stats">
<a href="#1af84773d6f1138b2cdfc756fd1da34cb14f50ce">
<span class="new-file">
+
libraries/ghc-internal/src/GHC/Internal/Data/NonEmpty.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#c2b95b2f8609a2f61babb238dafd995df8eb6d38">
libraries/ghc-internal/src/GHC/Internal/Data/Traversable.hs
</a>
</li>
<li class="file-stats">
<a href="#aa889b9768a5f02cf422645918b3aca165b8739a">
libraries/ghc-internal/src/GHC/Internal/Generics.hs
</a>
</li>
<li class="file-stats">
<a href="#000b1e763c4e401bf1b71920b9bb2a87a5f41be4">
libraries/ghc-internal/src/GHC/Internal/TH/Lib.hs
</a>
</li>
<li class="file-stats">
<a href="#7e5404c7d97337c31e50a084e8f7230c6f5eb4b5">
libraries/ghc-internal/src/GHC/Internal/TH/Lift.hs
</a>
</li>
<li class="file-stats">
<a href="#661b43655578566ae0a6ab55b6f670b1de666aa5">
libraries/ghc-internal/src/GHC/Internal/TH/Syntax.hs
</a>
</li>
<li class="file-stats">
<a href="#fdfc0f67fed47c4a09a83125fe925d928318a351">
libraries/ghc-internal/src/GHC/Internal/Text/ParserCombinators/ReadP.hs
</a>
</li>
<li class="file-stats">
<a href="#14b14de98438302076fff1ff3f41e80634148d97">
<span class="new-file">
+
testsuite/tests/indexed-types/should_compile/dataInstanceKindsDefaults.hs
</span>
</a>
</li>
<li class="file-stats">
<a href="#3e0457789f3266c805563b6a84cef1dfb08aed7e">
testsuite/tests/indexed-types/should_fail/all.T
</a>
</li>
<li class="file-stats">
<a href="#2ca7b1d6bb24cd05ca30a428efb924268c8dbc51">
testsuite/tests/interface-stability/base-exports.stdout
</a>
</li>
<li class="file-stats">
<a href="#482ce10224feee28cb25df69f2be2fd845ccb44d">
testsuite/tests/interface-stability/base-exports.stdout-javascript-unknown-ghcjs
</a>
</li>
<li class="file-stats">
<a href="#0c9107f6ffbb0ee70fe83374d94d1734a3bac3cb">
testsuite/tests/interface-stability/base-exports.stdout-mingw32
</a>
</li>
<li class="file-stats">
<a href="#e9c4dd54adbea818aa90a241f5325670bb349d53">
testsuite/tests/interface-stability/base-exports.stdout-ws-32
</a>
</li>
<li class="file-stats">
<a href="#82b23ae123a1b839f5c9c55e2431169c87d7c3b1">
testsuite/tests/interface-stability/ghc-experimental-exports.stdout
</a>
</li>
<li class="file-stats">
<a href="#fca75268a6e3a0981d7c5438f0cfb55796de4135">
testsuite/tests/interface-stability/ghc-experimental-exports.stdout-mingw32
</a>
</li>
</ul>
<h5 style="margin-top: 10px; margin-bottom: 10px; font-size: .875rem;">
The diff was not included because it is too large.
</h5>

</div>
<div class="footer" style="margin-top: 10px;">
<p style="font-size: small; color: #737278;">

<br>
<a href="https://gitlab.haskell.org/ghc/ghc/-/compare/1c80092a23f01279cca64e5907787e10137904a4...669b8b42c0d913d8a9b30570eb3169e79313c3f3">View it on GitLab</a>.
<br>
You're receiving this email because of your account on <a target="_blank" rel="noopener noreferrer" href="https://gitlab.haskell.org">gitlab.haskell.org</a>. <a href="https://gitlab.haskell.org/-/profile/notifications" target="_blank" rel="noopener noreferrer" class="mng-notif-link">Manage all notifications</a> · <a href="https://gitlab.haskell.org/help" target="_blank" rel="noopener noreferrer" class="help-link">Help</a>



</p>
</div>
</body>
</html>