<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git, branch wip/heapprof001-fragile</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>testsuite: Mark heapprof001 as fragile on all platforms</title>
<updated>2019-03-02T03:59:40+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2019-03-02T03:57:55+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=3981c4126954b6bca86afbea2bdb47bdcc31ecf4'/>
<id>3981c4126954b6bca86afbea2bdb47bdcc31ecf4</id>
<content type='text'>
See #15382.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
See #15382.
</pre>
</div>
</content>
</entry>
<entry>
<title>testsuite: Use fragile modifier for more tests</title>
<updated>2019-03-02T03:59:16+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2019-02-26T15:24:31+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=edd2108ab1156e31720f6e5fe662d26abd5061c6'/>
<id>edd2108ab1156e31720f6e5fe662d26abd5061c6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gitlab-ci: Don't allow i386-deb9 to fail</title>
<updated>2019-03-02T03:59:16+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2019-02-26T15:14:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=971f041f815a0ebdc1e6acd3d8ec9a31a4ba7952'/>
<id>971f041f815a0ebdc1e6acd3d8ec9a31a4ba7952</id>
<content type='text'>
Also account for testsuite metric drift.

Metric Decrease:
    haddock.Cabal
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also account for testsuite metric drift.

Metric Decrease:
    haddock.Cabal
</pre>
</div>
</content>
</entry>
<entry>
<title>testsuite: Mark heapprof001 as fragile on i386</title>
<updated>2019-03-02T03:59:15+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2019-02-26T15:14:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=4d09fcf8f4fdf29cde961a5bbd2a120bf4d04121'/>
<id>4d09fcf8f4fdf29cde961a5bbd2a120bf4d04121</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>testsuite: Introduce fragile modifier</title>
<updated>2019-03-02T03:59:15+00:00</updated>
<author>
<name>Ben Gamari</name>
<email>ben@smart-cactus.org</email>
</author>
<published>2019-02-26T15:13:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=15f27ff75bd6786265f89a2d9b861530f8fd3e0f'/>
<id>15f27ff75bd6786265f89a2d9b861530f8fd3e0f</id>
<content type='text'>
Now since we have been a bit more stringent in testsuite cleanliness we
have been marking a lot of tests as fragile using the `skip` modifier.
However, this unfortunately means that we lose the association with the
ticket number documenting the fragility.

Here we introduce `fragile` and `fragile_for` to retain this
information.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Now since we have been a bit more stringent in testsuite cleanliness we
have been marking a lot of tests as fragile using the `skip` modifier.
However, this unfortunately means that we lose the association with the
ticket number documenting the fragility.

Here we introduce `fragile` and `fragile_for` to retain this
information.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix parsing of expected performance changes for tests with non-alpha characters.</title>
<updated>2019-03-01T21:44:22+00:00</updated>
<author>
<name>David Eichmann</name>
<email>EichmannD@gmail.com</email>
</author>
<published>2019-02-27T18:35:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=b1c7ffafc64c5e04fe59e1c38fe86693de3498aa'/>
<id>b1c7ffafc64c5e04fe59e1c38fe86693de3498aa</id>
<content type='text'>
Python's split() function is used to split on all white space.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python's split() function is used to split on all white space.
</pre>
</div>
</content>
</entry>
<entry>
<title>use --docs=no-sphinx in both Hadrian CI jobs</title>
<updated>2019-03-01T21:38:15+00:00</updated>
<author>
<name>Alp Mestanogullari</name>
<email>alpmestan@gmail.com</email>
</author>
<published>2019-02-27T16:41:10+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=9aa27273afddd3cbf4c03c70954f24ac8ea1a706'/>
<id>9aa27273afddd3cbf4c03c70954f24ac8ea1a706</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Hadrian: introduce ways to skip some documentation targets</title>
<updated>2019-03-01T21:38:15+00:00</updated>
<author>
<name>Alp Mestanogullari</name>
<email>alpmestan@gmail.com</email>
</author>
<published>2019-02-27T16:23:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=8442103aa575dc1cd25cb3231e729c6365dc1b5c'/>
<id>8442103aa575dc1cd25cb3231e729c6365dc1b5c</id>
<content type='text'>
The initial motivation for this is to have a chance to run the binary
distribution rules in our Windows CI without having to install
sphinx-build and xelatex there, while retaining the ability to
generate haddocks. I just ended up extending this idea a little bit so
as to have control over whether we build haddocks, (sphinx) HTML manuals,
(sphinx) PDF manuals and (sphinx) manpages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The initial motivation for this is to have a chance to run the binary
distribution rules in our Windows CI without having to install
sphinx-build and xelatex there, while retaining the ability to
generate haddocks. I just ended up extending this idea a little bit so
as to have control over whether we build haddocks, (sphinx) HTML manuals,
(sphinx) PDF manuals and (sphinx) manpages.
</pre>
</div>
</content>
</entry>
<entry>
<title>Lexer: turn some fatal errors into non-fatal ones</title>
<updated>2019-03-01T21:32:09+00:00</updated>
<author>
<name>Alec Theriault</name>
<email>alec.theriault@gmail.com</email>
</author>
<published>2019-02-26T00:39:27+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=f37efb11b957a21f3048f7005a234f96350ff938'/>
<id>f37efb11b957a21f3048f7005a234f96350ff938</id>
<content type='text'>
The following previously fatal lexer errors are now non-fatal:

  * errors about enabling `LambdaCase`
  * errors about enabling `NumericUnderscores`
  * errors about having valid characters in primitive strings

See #16270
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The following previously fatal lexer errors are now non-fatal:

  * errors about enabling `LambdaCase`
  * errors about enabling `NumericUnderscores`
  * errors about having valid characters in primitive strings

See #16270
</pre>
</div>
</content>
</entry>
<entry>
<title>Visible dependent quantification</title>
<updated>2019-03-01T21:26:02+00:00</updated>
<author>
<name>Ryan Scott</name>
<email>ryan.gl.scott@gmail.com</email>
</author>
<published>2018-12-18T01:54:36+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=c26d299dc422f43b8c37da4b26da2067eedcbae8'/>
<id>c26d299dc422f43b8c37da4b26da2067eedcbae8</id>
<content type='text'>
This implements GHC proposal 35
(https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0035-forall-arrow.rst)
by adding the ability to write kinds with
visible dependent quantification (VDQ).

Most of the work for supporting VDQ was actually done _before_ this
patch. That is, GHC has been able to reason about kinds with VDQ for
some time, but it lacked the ability to let programmers directly
write these kinds in the source syntax. This patch is primarly about
exposing this ability, by:

* Changing `HsForAllTy` to add an additional field of type
  `ForallVisFlag` to distinguish between invisible `forall`s (i.e,
  with dots) and visible `forall`s (i.e., with arrows)
* Changing `Parser.y` accordingly

The rest of the patch mostly concerns adding validity checking to
ensure that VDQ is never used in the type of a term (as permitting
this would require full-spectrum dependent types). This is
accomplished by:

* Adding a `vdqAllowed` predicate to `TcValidity`.
* Introducing `splitLHsSigmaTyInvis`, a variant of `splitLHsSigmaTy`
  that only splits invisible `forall`s. This function is used in
  certain places (e.g., in instance declarations) to ensure that GHC
  doesn't try to split visible `forall`s (e.g., if it tried splitting
  `instance forall a -&gt; Show (Blah a)`, then GHC would mistakenly
  allow that declaration!)

This also updates Template Haskell by introducing a new `ForallVisT`
constructor to `Type`.

Fixes #16326. Also fixes #15658 by documenting this feature in the
users' guide.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This implements GHC proposal 35
(https://github.com/ghc-proposals/ghc-proposals/blob/master/proposals/0035-forall-arrow.rst)
by adding the ability to write kinds with
visible dependent quantification (VDQ).

Most of the work for supporting VDQ was actually done _before_ this
patch. That is, GHC has been able to reason about kinds with VDQ for
some time, but it lacked the ability to let programmers directly
write these kinds in the source syntax. This patch is primarly about
exposing this ability, by:

* Changing `HsForAllTy` to add an additional field of type
  `ForallVisFlag` to distinguish between invisible `forall`s (i.e,
  with dots) and visible `forall`s (i.e., with arrows)
* Changing `Parser.y` accordingly

The rest of the patch mostly concerns adding validity checking to
ensure that VDQ is never used in the type of a term (as permitting
this would require full-spectrum dependent types). This is
accomplished by:

* Adding a `vdqAllowed` predicate to `TcValidity`.
* Introducing `splitLHsSigmaTyInvis`, a variant of `splitLHsSigmaTy`
  that only splits invisible `forall`s. This function is used in
  certain places (e.g., in instance declarations) to ensure that GHC
  doesn't try to split visible `forall`s (e.g., if it tried splitting
  `instance forall a -&gt; Show (Blah a)`, then GHC would mistakenly
  allow that declaration!)

This also updates Template Haskell by introducing a new `ForallVisT`
constructor to `Type`.

Fixes #16326. Also fixes #15658 by documenting this feature in the
users' guide.
</pre>
</div>
</content>
</entry>
</feed>
