<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git, branch wip/int-index/pun-names</title>
<subtitle>gitlab.haskell.org: ghc/ghc.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/'/>
<entry>
<title>WIP: Punned names</title>
<updated>2023-01-20T11:53:32+00:00</updated>
<author>
<name>Vladislav Zavialov</name>
<email>vlad.z.4096@gmail.com</email>
</author>
<published>2023-01-20T09:05:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=7c53b6be5ec2ee0285818eeccad374f2689c2d65'/>
<id>7c53b6be5ec2ee0285818eeccad374f2689c2d65</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix printing of promoted MkSolo datacon (#22785)</title>
<updated>2023-01-19T03:26:43+00:00</updated>
<author>
<name>Andrei Borzenkov</name>
<email>andreyborzenkov2002@gmail.com</email>
</author>
<published>2023-01-17T13:22:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=14b5982a3aea351e4b01c5804ebd4d4629ba6bab'/>
<id>14b5982a3aea351e4b01c5804ebd4d4629ba6bab</id>
<content type='text'>
Problem: In 2463df2f, the Solo data constructor was renamed to MkSolo,
and Solo was turned into a pattern synonym for backwards compatibility.
Since pattern synonyms can not be promoted, the old code that pretty-printed
promoted single-element tuples started producing ill-typed code:
   t :: Proxy ('Solo Int)
This fails with "Pattern synonym ‘Solo’ used as a type"

The solution is to track the distinction between type constructors and data
constructors more carefully when printing single-element tuples.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Problem: In 2463df2f, the Solo data constructor was renamed to MkSolo,
and Solo was turned into a pattern synonym for backwards compatibility.
Since pattern synonyms can not be promoted, the old code that pretty-printed
promoted single-element tuples started producing ill-typed code:
   t :: Proxy ('Solo Int)
This fails with "Pattern synonym ‘Solo’ used as a type"

The solution is to track the distinction between type constructors and data
constructors more carefully when printing single-element tuples.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add regression test for #22151</title>
<updated>2023-01-19T03:26:03+00:00</updated>
<author>
<name>Ryan Scott</name>
<email>ryan.gl.scott@gmail.com</email>
</author>
<published>2023-01-17T13:07:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=154889dbfbef62ad58a28df4171bf767cc690c2a'/>
<id>154889dbfbef62ad58a28df4171bf767cc690c2a</id>
<content type='text'>
Issue #22151 was coincidentally fixed in commit
aed1974e92366ab8e117734f308505684f70cddf (`Refactor the treatment of loopy
superclass dicts`). This adds a regression test to ensure that the issue
remains fixed.

Fixes #22151.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Issue #22151 was coincidentally fixed in commit
aed1974e92366ab8e117734f308505684f70cddf (`Refactor the treatment of loopy
superclass dicts`). This adds a regression test to ensure that the issue
remains fixed.

Fixes #22151.
</pre>
</div>
</content>
</entry>
<entry>
<title>nativeGen/X86: MFENCE is unnecessary for release semantics</title>
<updated>2023-01-19T03:25:27+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2023-01-16T17:21:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=f058e3672b969f301b6b1637f8ab081654ec947a'/>
<id>f058e3672b969f301b6b1637f8ab081654ec947a</id>
<content type='text'>
In #22764 a user noticed that a program implementing a simple atomic
counter via an STRef regressed significantly due to the introduction of
necessary atomic operations in the MutVar# primops (#22468). This
regression was caused by a bug in the NCG, which emitted an unnecessary
MFENCE instruction for a release-ordered atomic write. MFENCE is rather
only needed to achieve sequentially consistent ordering.

Fixes #22764.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In #22764 a user noticed that a program implementing a simple atomic
counter via an STRef regressed significantly due to the introduction of
necessary atomic operations in the MutVar# primops (#22468). This
regression was caused by a bug in the NCG, which emitted an unnecessary
MFENCE instruction for a release-ordered atomic write. MFENCE is rather
only needed to achieve sequentially consistent ordering.

Fixes #22764.
</pre>
</div>
</content>
</entry>
<entry>
<title>ghc-pkg does not have to depend on terminfo</title>
<updated>2023-01-19T03:24:51+00:00</updated>
<author>
<name>Bodigrim</name>
<email>andrew.lelechenko@gmail.com</email>
</author>
<published>2023-01-05T23:48:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=981ff7c4d0e0dd1f4cf721ceb3e99128e442f9fc'/>
<id>981ff7c4d0e0dd1f4cf721ceb3e99128e442f9fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>ghc package does not have to depend on terminfo</title>
<updated>2023-01-19T03:24:51+00:00</updated>
<author>
<name>Bodigrim</name>
<email>andrew.lelechenko@gmail.com</email>
</author>
<published>2023-01-05T23:47:57+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=32ab07bf3d6ce45e8ea5b55e8095174a6b42a7f0'/>
<id>32ab07bf3d6ce45e8ea5b55e8095174a6b42a7f0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Give the RTS it's own configure script</title>
<updated>2023-01-19T03:24:10+00:00</updated>
<author>
<name>John Ericson</name>
<email>John.Ericson@Obsidian.Systems</email>
</author>
<published>2021-10-22T00:05:54+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=eb5a6b91e02b48f9171217743e3417cb33eb92e3'/>
<id>eb5a6b91e02b48f9171217743e3417cb33eb92e3</id>
<content type='text'>
Currently it doesn't do much anything, we are just trying to introduce
it without breaking the build. Later, we will move functionality from
the top-level configure script over to it.

We need to bump Cabal for https://github.com/haskell/cabal/pull/8649; to
facilitate and existing hack of skipping some configure checks for the
RTS we now need to skip just *part* not *all* of the "post configure"
hook, as running the configure script (which we definitely want to do)
is also implemented as part of the "post configure" hook. But doing this
requires exposing functionality that wasn't exposed before.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently it doesn't do much anything, we are just trying to introduce
it without breaking the build. Later, we will move functionality from
the top-level configure script over to it.

We need to bump Cabal for https://github.com/haskell/cabal/pull/8649; to
facilitate and existing hack of skipping some configure checks for the
RTS we now need to skip just *part* not *all* of the "post configure"
hook, as running the configure script (which we definitely want to do)
is also implemented as part of the "post configure" hook. But doing this
requires exposing functionality that wasn't exposed before.
</pre>
</div>
</content>
</entry>
<entry>
<title>Move documentation of deferred type error flags out of warnings section</title>
<updated>2023-01-18T19:22:26+00:00</updated>
<author>
<name>Adam Gundry</name>
<email>adam@well-typed.com</email>
</author>
<published>2023-01-11T21:29:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=ab0d5cdaa5505e5b774b04b9f68dcbbc7ce1071e'/>
<id>ab0d5cdaa5505e5b774b04b9f68dcbbc7ce1071e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Revise warnings documentation in user's guide</title>
<updated>2023-01-18T19:22:26+00:00</updated>
<author>
<name>Adam Gundry</name>
<email>adam@well-typed.com</email>
</author>
<published>2023-01-11T21:17:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=5389681edbcab4009c41761221943b05ad1004b7'/>
<id>5389681edbcab4009c41761221943b05ad1004b7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor corrections to comments</title>
<updated>2023-01-18T19:22:26+00:00</updated>
<author>
<name>Adam Gundry</name>
<email>adam@well-typed.com</email>
</author>
<published>2023-01-12T08:10:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=7ed1b8ef128866354e781265ee30a0a16444b862'/>
<id>7ed1b8ef128866354e781265ee30a0a16444b862</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
