Right way to turn off dynamic linking in build.mk

2014-12-18 Thread Johan Tibell
Some times when I play around with GHC I'd like to turn off dynamic linking to make GHC compile faster. I'm not sure what the right way to do this in build.mk. It's made confusing by the conditional statements in that file: GhcLibWays = $(if $(filter $(DYNAMIC_GHC_PROGRAMS),YES),v dyn,v)

Re: [Diffusion] [Build Failed] rGHC726ea08a6e58: Amend TcPluginM interface

2014-12-18 Thread Adam Gundry
On 18/12/14 09:25, Phabricator wrote: Harbormaster failed to build B2694: rGHC726ea08a6e58: Amend TcPluginM interface! Sigh. It seems perf/compiler T3294 is failing on Harbormaster, but it validated fine locally on x86_64. I doubt my commit is responsible, and suspect this is just a wobbly

RE: are patterns synonyms definable in GHCI?

2014-12-18 Thread Simon Peyton Jones
File a Trac ticket! From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Carter Schonwald Sent: 18 December 2014 06:15 To: ghc-devs@haskell.org Subject: are patterns synonyms definable in GHCI? Hey all, I was trying to define some pattern synonyms in ghci recently, and that doesnt

RE: Understanding DsMeta module

2014-12-18 Thread Simon Peyton Jones
| Thanks. That helps but I still don't understand why the calls are | delegated to template-haskell library. Couldn't all of this be done | locally? No. If you have f :: Int - Q Exp then f is a function that, when run, produces a data structure that is the syntax tree (in the data

RE: Status updates

2014-12-18 Thread Simon Peyton Jones
Sergei Thank you for all these. I believe I have (finally) nailed them all! Simon | -Original Message- | From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of | Sergei Trofimovich | Sent: 09 September 2014 18:32 | To: ghc-devs@haskell.org | Subject: Re: Status updates

Re: are patterns synonyms definable in GHCI?

2014-12-18 Thread Dr. ERDI Gergo
On Thu, 18 Dec 2014, Carter Schonwald wrote: Hey all,I was trying to define some pattern synonyms in ghci recently, and that doesnt seem to work. Is that something slated to be fix in 7.10 or something? I thought GHCi accepts things that would be valid in a 'do' section? So e.g. x = ()

RE: are patterns synonyms definable in GHCI?

2014-12-18 Thread Simon Peyton Jones
But GHCi does support data type declarations ghci data T = A | B so presumably it ought also to support pattern synonym declarations. Simon | -Original Message- | From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Dr. | ERDI Gergo | Sent: 18 December 2014 10:52 |

Re: are patterns synonyms definable in GHCI?

2014-12-18 Thread Edward Kmett
ghci also accepts a number of other things. You can define data types, type synonyms, classes, instances, so pattern synonyms would seem to fall into scope. On Thu, Dec 18, 2014 at 5:51 AM, Dr. ERDI Gergo ge...@erdi.hu wrote: On Thu, 18 Dec 2014, Carter Schonwald wrote: Hey all,I was trying

Re: are patterns synonyms definable in GHCI?

2014-12-18 Thread Roman Cheplyaka
On 18/12/14 12:51, Dr. ERDI Gergo wrote: On Thu, 18 Dec 2014, Carter Schonwald wrote: Hey all,I was trying to define some pattern synonyms in ghci recently, and that doesnt seem to work. Is that something slated to be fix in 7.10 or something? I thought GHCi accepts things that would be

Re: Can we rename completion to autocomplete

2014-12-18 Thread Jan Stolarek
Bump. Any decisions on this one? If not then I'll move that folder somewhere else because it's getting in the way. Janek ___ ghc-devs mailing list ghc-devs@haskell.org http://www.haskell.org/mailman/listinfo/ghc-devs

Re: Can we rename completion to autocomplete

2014-12-18 Thread Austin Seipp
I'd say just move it under utils/. We really need to organize the top-folder more, but that's for another day. On Thu, Dec 18, 2014 at 11:18 AM, Jan Stolarek jan.stola...@p.lodz.pl wrote: Bump. Any decisions on this one? If not then I'll move that folder somewhere else because it's getting in

RFC: Remove -fwarn-unticked-promoted-constructors from -Wall

2014-12-18 Thread Jan Stolarek
We recently got a new warning -fwarn-unticked-promoted-constructors (see #9778 and D534). This warning is enabled with -Wall but I think that this is not a good idea. I strongly propose to remove it with -Wall. Rationale: 1. I feel that ticks add unnecessary noise: prDictOfPReprInstTyCon ::

Re: RFC: Remove -fwarn-unticked-promoted-constructors from -Wall

2014-12-18 Thread Richard Eisenberg
For what it's worth, I don't have a strong feeling either way here. Arguments in favor of keeping -fwarn-unticked-promoted-constructors in -Wall: 1. It's weird having GHC look in one namespace (types) and then look in another (terms) only when the first one fails. In other scenarios, ambiguity

Re: Random holiday fun: Vote for buildbot naming conventions!

2014-12-18 Thread Carter Schonwald
dont forget you can vote for more than one! On Thu, Dec 18, 2014 at 12:08 AM, Austin Seipp aus...@well-typed.com wrote: Hi *, Everyone has been working hard getting things ready for the branch/RC later this week - and that's really appreciated! As always, GHC wouldn't be what it is without

Re: GHC Weekly News - 2014/12/16

2014-12-18 Thread Erik de Castro Lopo
Austin Seipp wrote: - This week, Austin managed to secure two sponsors for GHC/Haskell.org. We've been given a wonderful set of ARM buildbots (running in the cloud!) and a new, incredibly powerful POWER8 machine to use (with over 170 hardware threads available, for scalability testing).