<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/haskell.git, branch wip/T8584</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>Add support for pattern synonym type signatures.</title>
<updated>2014-11-20T10:21:34+00:00</updated>
<author>
<name>Dr. ERDI Gergo</name>
<email>gergo@erdi.hu</email>
</author>
<published>2014-11-07T11:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=d4530b69ff9518a091cc1aabb2b75f2e9d5b275c'/>
<id>d4530b69ff9518a091cc1aabb2b75f2e9d5b275c</id>
<content type='text'>
Syntax is of the form

    pattern P :: (Prov b) =&gt; (Req a) =&gt; a -&gt; b -&gt; Int -&gt; T a

which declares a pattern synonym called `P`, with argument types `a`, `b`,
and `Int`, and result type `T a`, with provided context `(Prov b)` and required
context `(Req a)`.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Syntax is of the form

    pattern P :: (Prov b) =&gt; (Req a) =&gt; a -&gt; b -&gt; Int -&gt; T a

which declares a pattern synonym called `P`, with argument types `a`, `b`,
and `Int`, and result type `T a`, with provided context `(Prov b)` and required
context `(Req a)`.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update shift/reduce conflict number in parser</title>
<updated>2014-11-20T10:21:30+00:00</updated>
<author>
<name>Dr. ERDI Gergo</name>
<email>gergo@erdi.hu</email>
</author>
<published>2014-11-20T10:21:30+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=3b81309c057fc216afa053d195aaa85ee3a1ba9e'/>
<id>3b81309c057fc216afa053d195aaa85ee3a1ba9e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Data.Functor.Identity trustworthy again</title>
<updated>2014-11-20T09:44:02+00:00</updated>
<author>
<name>Herbert Valerio Riedel</name>
<email>hvr@gnu.org</email>
</author>
<published>2014-11-20T08:53:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=8cbd25a49051171da7c73db57ebd87bb0296c2f7'/>
<id>8cbd25a49051171da7c73db57ebd87bb0296c2f7</id>
<content type='text'>
Alas `{-# LANGUAGE Safe #-}` can't be used since `Data.Coerce` isn't "safe".
However, we use `coerce` just as an optimisation
(see also 4ba884bdd3a9521ea92fcda8f601a7d0f3537bc1 which broke the
safe-inferred status of `Data.Functor.Identity`), so this module at least
deserves `{-# LANGUAGE Trustworthy #-}`.

NOTE: `Data.Functor.Identity` was added to `base` in the context of #9664

Reviewed By: luite

Differential Revision: https://phabricator.haskell.org/D507
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Alas `{-# LANGUAGE Safe #-}` can't be used since `Data.Coerce` isn't "safe".
However, we use `coerce` just as an optimisation
(see also 4ba884bdd3a9521ea92fcda8f601a7d0f3537bc1 which broke the
safe-inferred status of `Data.Functor.Identity`), so this module at least
deserves `{-# LANGUAGE Trustworthy #-}`.

NOTE: `Data.Functor.Identity` was added to `base` in the context of #9664

Reviewed By: luite

Differential Revision: https://phabricator.haskell.org/D507
</pre>
</div>
</content>
</entry>
<entry>
<title>Make calling conventions in template haskell Syntax.hs consistent with those in ghc ForeignCall.hs</title>
<updated>2014-11-20T01:49:42+00:00</updated>
<author>
<name>Luite Stegeman</name>
<email>stegeman@gmail.com</email>
</author>
<published>2014-11-20T00:38:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=c6e12e69fa348328d58540a1ea8abed35d0dda32'/>
<id>c6e12e69fa348328d58540a1ea8abed35d0dda32</id>
<content type='text'>
this impliments #9703 from ghc trac

Test Plan: still needs tests

Reviewers: cmsaperstein, ekmett, goldfire, austin

Reviewed By: goldfire, austin

Subscribers: goldfire, thomie, carter, simonmar

Differential Revision: https://phabricator.haskell.org/D353

GHC Trac Issues: #9703
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this impliments #9703 from ghc trac

Test Plan: still needs tests

Reviewers: cmsaperstein, ekmett, goldfire, austin

Reviewed By: goldfire, austin

Subscribers: goldfire, thomie, carter, simonmar

Differential Revision: https://phabricator.haskell.org/D353

GHC Trac Issues: #9703
</pre>
</div>
</content>
</entry>
<entry>
<title>ghc generates more user-friendly error messages</title>
<updated>2014-11-20T01:49:37+00:00</updated>
<author>
<name>Mike Izbicki</name>
<email>mike@izbicki.me</email>
</author>
<published>2014-11-20T00:29:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=bc2289e13d9586be087bd8136943dc35a0130c88'/>
<id>bc2289e13d9586be087bd8136943dc35a0130c88</id>
<content type='text'>
Test Plan: Compiled ghc fine.  Opened ghci and fed it invalid code.  It gave the improved error messages in response.

Reviewers: austin

Subscribers: thomie, simonpj, spacekitteh, rwbarton, simonmar, carter

Differential Revision: https://phabricator.haskell.org/D201
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test Plan: Compiled ghc fine.  Opened ghci and fed it invalid code.  It gave the improved error messages in response.

Reviewers: austin

Subscribers: thomie, simonpj, spacekitteh, rwbarton, simonmar, carter

Differential Revision: https://phabricator.haskell.org/D201
</pre>
</div>
</content>
</entry>
<entry>
<title>arm64: 64bit iOS and SMP support (#7942)</title>
<updated>2014-11-19T23:24:30+00:00</updated>
<author>
<name>Luke Iannini</name>
<email>lukexi@me.com</email>
</author>
<published>2014-11-19T23:23:35+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=d87fa343cd5d298c9fea96d65d05a20929ff97d0'/>
<id>d87fa343cd5d298c9fea96d65d05a20929ff97d0</id>
<content type='text'>
Signed-off-by: Austin Seipp &lt;austin@well-typed.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Austin Seipp &lt;austin@well-typed.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>compiler/main: fixes #9776</title>
<updated>2014-11-19T23:07:53+00:00</updated>
<author>
<name>Carlos Tomé</name>
<email>carlostome1990@gmail.com</email>
</author>
<published>2014-11-19T23:07:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=80f6fc1769296330687d54179a6dc149f02d6348'/>
<id>80f6fc1769296330687d54179a6dc149f02d6348</id>
<content type='text'>
Test Plan: test T9776 under tests/driver

Reviewers: jstolarek, austin

Reviewed By: jstolarek, austin

Subscribers: jstolarek, thomie, carter

Differential Revision: https://phabricator.haskell.org/D503

GHC Trac Issues: #9776
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Test Plan: test T9776 under tests/driver

Reviewers: jstolarek, austin

Reviewed By: jstolarek, austin

Subscribers: jstolarek, thomie, carter

Differential Revision: https://phabricator.haskell.org/D503

GHC Trac Issues: #9776
</pre>
</div>
</content>
</entry>
<entry>
<title>use correct word size for shiftRightLogical and removeOp32</title>
<updated>2014-11-19T23:03:06+00:00</updated>
<author>
<name>Luite Stegeman</name>
<email>stegeman@gmail.com</email>
</author>
<published>2014-11-19T23:00:49+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=4dd87c5e3ebd0569fdd19695f3e9c82102404a4f'/>
<id>4dd87c5e3ebd0569fdd19695f3e9c82102404a4f</id>
<content type='text'>
Summary:
shiftRightLogical used a host sized Word for the intermediate value,
which would produce the wrong result when cross compiling to a target
with a different word size than the host.

removeOp32 used the preprocessor to bake in word size assumptions,
rather than getting the target word size from DynFlags

Test Plan: validate

Reviewers: hvr, rwbarton, carter, austin

Reviewed By: austin

Subscribers: thomie, carter

Differential Revision: https://phabricator.haskell.org/D502

GHC Trac Issues: #9736
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
shiftRightLogical used a host sized Word for the intermediate value,
which would produce the wrong result when cross compiling to a target
with a different word size than the host.

removeOp32 used the preprocessor to bake in word size assumptions,
rather than getting the target word size from DynFlags

Test Plan: validate

Reviewers: hvr, rwbarton, carter, austin

Reviewed By: austin

Subscribers: thomie, carter

Differential Revision: https://phabricator.haskell.org/D502

GHC Trac Issues: #9736
</pre>
</div>
</content>
</entry>
<entry>
<title>make TcRnMonad.lhs respect -ddump-to-file</title>
<updated>2014-11-19T23:03:06+00:00</updated>
<author>
<name>Greg Weber</name>
<email>greg@gregweber.info</email>
</author>
<published>2014-11-19T22:43:26+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=33c029faef3b5e486def8f3a7c888dfa9f3d8cca'/>
<id>33c029faef3b5e486def8f3a7c888dfa9f3d8cca</id>
<content type='text'>
Summary: allows things such as: -ddump-to-file -ddump-splices

Test Plan:
compile with flags -ddump-to-file -ddump-splices
verify that it does output an extra file

Try out other flags.
I noticed that with -ddump-tc there is some output going to file and some to stdout.

Reviewers: hvr, austin

Reviewed By: austin

Subscribers: simonpj, thomie, carter

Differential Revision: https://phabricator.haskell.org/D460

GHC Trac Issues: #9126
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary: allows things such as: -ddump-to-file -ddump-splices

Test Plan:
compile with flags -ddump-to-file -ddump-splices
verify that it does output an extra file

Try out other flags.
I noticed that with -ddump-tc there is some output going to file and some to stdout.

Reviewers: hvr, austin

Reviewed By: austin

Subscribers: simonpj, thomie, carter

Differential Revision: https://phabricator.haskell.org/D460

GHC Trac Issues: #9126
</pre>
</div>
</content>
</entry>
<entry>
<title>Allow -dead_strip linking on platforms with .subsections_via_symbols</title>
<updated>2014-11-19T23:03:06+00:00</updated>
<author>
<name>Moritz Angermann</name>
<email>moritz@lichtzwerge.de</email>
</author>
<published>2014-11-19T22:38:22+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/haskell.git/commit/?id=53a4742d037da2bfd00d1d34a8ea0d49d4cdb490'/>
<id>53a4742d037da2bfd00d1d34a8ea0d49d4cdb490</id>
<content type='text'>
Summary:
This allows to link objects produced with the llvm code generator to be linked with -dead_strip. This applies to at least the iOS cross compiler and OS X compiler.

Signed-off-by: Moritz Angermann &lt;moritz@lichtzwerge.de&gt;

Test Plan: Create a ffi library and link it with -dead_strip. If the resulting binary does not crash, the patch works as advertised.

Reviewers: rwbarton, simonmar, hvr, dterei, mzero, ezyang, austin

Reviewed By: dterei, ezyang, austin

Subscribers: thomie, mzero, simonmar, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D206
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Summary:
This allows to link objects produced with the llvm code generator to be linked with -dead_strip. This applies to at least the iOS cross compiler and OS X compiler.

Signed-off-by: Moritz Angermann &lt;moritz@lichtzwerge.de&gt;

Test Plan: Create a ffi library and link it with -dead_strip. If the resulting binary does not crash, the patch works as advertised.

Reviewers: rwbarton, simonmar, hvr, dterei, mzero, ezyang, austin

Reviewed By: dterei, ezyang, austin

Subscribers: thomie, mzero, simonmar, ezyang, carter

Differential Revision: https://phabricator.haskell.org/D206
</pre>
</div>
</content>
</entry>
</feed>
