<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git, branch wip/thread-show</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>Improve ThreadId Show instance</title>
<updated>2019-05-29T15:29:57+00:00</updated>
<author>
<name>Nathan Collins</name>
<email>nathan.collins@gmail.com</email>
</author>
<published>2019-05-21T17:44:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=c00ad4213db311d37c8e7a0867ad1853178636ee'/>
<id>c00ad4213db311d37c8e7a0867ad1853178636ee</id>
<content type='text'>
By making it include parens when a derived instance would. For example, this changes the (hypothetical) code `show (Just (ThreadId 3))` to produce `"Just (ThreadId 3)"` instead of the current `"Just ThreadId 3"`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By making it include parens when a derived instance would. For example, this changes the (hypothetical) code `show (Just (ThreadId 3))` to produce `"Just (ThreadId 3)"` instead of the current `"Just ThreadId 3"`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide details in `plusSimplCount` errors</title>
<updated>2019-05-29T14:43:03+00:00</updated>
<author>
<name>Josh Meredith</name>
<email>joshmeredith2008@gmail.com</email>
</author>
<published>2019-05-28T11:15:56+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=2d2aa2031b9abc3bff7b5585ab4201948c8bba7d'/>
<id>2d2aa2031b9abc3bff7b5585ab4201948c8bba7d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>tcMatchesFun s/rho/sigma #16692</title>
<updated>2019-05-29T14:42:20+00:00</updated>
<author>
<name>Vladislav Zavialov</name>
<email>vlad.z.4096@gmail.com</email>
</author>
<published>2019-05-26T11:21:19+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=ae968d419d861dcc01cd5d45e96dc86e16c363c5'/>
<id>ae968d419d861dcc01cd5d45e96dc86e16c363c5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>CNF.c: Move debug functions behind ifdef</title>
<updated>2019-05-29T14:41:44+00:00</updated>
<author>
<name>Ömer Sinan Ağacan</name>
<email>omeragacan@gmail.com</email>
</author>
<published>2019-05-28T07:46:41+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=4d51e0d80f02483e86f4ad3bae47dcb3311def6b'/>
<id>4d51e0d80f02483e86f4ad3bae47dcb3311def6b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>downsweep: Allow TargetFile not to exist when a buffer is given</title>
<updated>2019-05-29T14:41:02+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2019-05-20T10:17:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=fb26d46754564bfacda98618d86d3ee4eda1fcf2'/>
<id>fb26d46754564bfacda98618d86d3ee4eda1fcf2</id>
<content type='text'>
Currently 'getRootSummary' will fail with an exception if a 'TargetFile' is
given but it does not exist even if an input buffer is passed along for
this target.

In this case it is not necessary for the file to exist since the buffer
will be used as input for the compilation pipeline instead of the file
anyways.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Currently 'getRootSummary' will fail with an exception if a 'TargetFile' is
given but it does not exist even if an input buffer is passed along for
this target.

In this case it is not necessary for the file to exist since the buffer
will be used as input for the compilation pipeline instead of the file
anyways.
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow using tagetContents for modules needing preprocessing</title>
<updated>2019-05-29T14:41:02+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2019-05-20T09:58:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=5b90e0a173f69c9babb3201f62cd5096798c5240'/>
<id>5b90e0a173f69c9babb3201f62cd5096798c5240</id>
<content type='text'>
This allows GHC API clients, most notably tooling such as
Haskell-IDE-Engine, to pass unsaved files to GHC more easily.

Currently when targetContents is used but the module requires preprocessing
'preprocessFile' simply throws an error because the pipeline does not
support passing a buffer.

This change extends `runPipeline` to allow passing the input buffer into
the pipeline. Before proceeding with the actual pipeline loop the input
buffer is immediately written out to a new tempfile.

I briefly considered refactoring the pipeline at large to pass around
in-memory buffers instead of files, but this seems needlessly complicated
since no pipeline stages other than Hsc could really support this at the
moment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows GHC API clients, most notably tooling such as
Haskell-IDE-Engine, to pass unsaved files to GHC more easily.

Currently when targetContents is used but the module requires preprocessing
'preprocessFile' simply throws an error because the pipeline does not
support passing a buffer.

This change extends `runPipeline` to allow passing the input buffer into
the pipeline. Before proceeding with the actual pipeline loop the input
buffer is immediately written out to a new tempfile.

I briefly considered refactoring the pipeline at large to pass around
in-memory buffers instead of files, but this seems needlessly complicated
since no pipeline stages other than Hsc could really support this at the
moment.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add hPutStringBuffer utility</title>
<updated>2019-05-29T14:41:02+00:00</updated>
<author>
<name>Daniel Gröber</name>
<email>dxld@darkboxed.org</email>
</author>
<published>2019-05-20T04:03:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=cc0d05a78c3c731c771aaadd29c2c5c8d772d619'/>
<id>cc0d05a78c3c731c771aaadd29c2c5c8d772d619</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Don't lose parentheses in show SomeAsyncException</title>
<updated>2019-05-29T14:40:21+00:00</updated>
<author>
<name>Nathan Collins</name>
<email>nathan.collins@gmail.com</email>
</author>
<published>2019-05-21T17:35:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=9062b62555ced7403cb97f5fd55cffdd57fbf717'/>
<id>9062b62555ced7403cb97f5fd55cffdd57fbf717</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix missing unboxed tuple RuntimeReps (#16565)</title>
<updated>2019-05-29T14:39:43+00:00</updated>
<author>
<name>Krzysztof Gogolewski</name>
<email>krzysztof.gogolewski@tweag.io</email>
</author>
<published>2019-05-05T18:37:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=69b1633104a43d5654e65f2c05fa6b73775936e2'/>
<id>69b1633104a43d5654e65f2c05fa6b73775936e2</id>
<content type='text'>
Unboxed tuples and sums take extra RuntimeRep arguments,
which must be manually passed in a few places.
This was not done in deSugar/Check.

This error was hidden because zipping functions in TyCoRep
ignored lists with mismatching length. This is now fixed;
the lengths are now checked by calling zipEqual.

As suggested in #16565, I moved checking for isTyVar and
isCoVar to zipTyEnv and zipCoEnv.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Unboxed tuples and sums take extra RuntimeRep arguments,
which must be manually passed in a few places.
This was not done in deSugar/Check.

This error was hidden because zipping functions in TyCoRep
ignored lists with mismatching length. This is now fixed;
the lengths are now checked by calling zipEqual.

As suggested in #16565, I moved checking for isTyVar and
isCoVar to zipTyEnv and zipCoEnv.
</pre>
</div>
</content>
</entry>
<entry>
<title>In hole fits, don't show VTA for inferred variables (#16456)</title>
<updated>2019-05-29T14:39:05+00:00</updated>
<author>
<name>Krzysztof Gogolewski</name>
<email>krzysztof.gogolewski@tweag.io</email>
</author>
<published>2019-05-16T17:41:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=f9d61ebbf4bba7862ae53c69b0f7116423b8f6d1'/>
<id>f9d61ebbf4bba7862ae53c69b0f7116423b8f6d1</id>
<content type='text'>
We fetch the ArgFlag for every argument by using splitForAllVarBndrs
instead of splitForAllTys in unwrapTypeVars.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We fetch the ArgFlag for every argument by using splitForAllVarBndrs
instead of splitForAllTys in unwrapTypeVars.
</pre>
</div>
</content>
</entry>
</feed>
