Re: Backporting srcLoc to the GHC 7.10 branch

2015-07-15 Thread Ben Gamari
Ben Gamari writes: > Michael Snoyman writes: > >> Hi Simon, >> >> We had a small pow-wow over here. We're already providing relevant >> customers with a custom-built GHC, and only using this feature internally >> to their codebases, so it's not a necessity to get this into upstream GHC >> 7.10.

Re: Backporting srcLoc to the GHC 7.10 branch

2015-07-15 Thread Ben Gamari
Michael Snoyman writes: > Hi Simon, > > We had a small pow-wow over here. We're already providing relevant > customers with a custom-built GHC, and only using this feature internally > to their codebases, so it's not a necessity to get this into upstream GHC > 7.10. It would be nice if the librar

Re: Backporting srcLoc to the GHC 7.10 branch

2015-07-13 Thread Michael Snoyman
gt; > > Simon > > > > *From:* Michael Snoyman [mailto:mich...@snoyman.com] > *Sent:* 13 July 2015 18:33 > *To:* Simon Peyton Jones; Mateusz Kowalczyk; ghc-devs@haskell.org > *Cc:* Mark Lentczner > > > *Subject:* Re: Backporting srcLoc to the GHC 7.10 branch > >

RE: Backporting srcLoc to the GHC 7.10 branch

2015-07-13 Thread Simon Peyton Jones
; Mateusz Kowalczyk; ghc-devs@haskell.org Cc: Mark Lentczner Subject: Re: Backporting srcLoc to the GHC 7.10 branch Hi Simon, We had a small pow-wow over here. We're already providing relevant customers with a custom-built GHC, and only using this feature internally to their codebases, so it&#x

Re: Backporting srcLoc to the GHC 7.10 branch

2015-07-13 Thread Michael Snoyman
the guys you have to persuade if you really want > | this. > | > I suspect it'll be more effective to open a ticket, milestoned for > | > 7.10.2, with specifics on it. Email gets lost; tickets don't. > | > | Noted, thanks. > | > | > Thanks > | >

RE: Backporting srcLoc to the GHC 7.10 branch

2015-07-13 Thread Simon Peyton Jones
Thanks | > | > Simon | > | > | > | -Original Message- | > | From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of | > | Mateusz Kowalczyk | > | Sent: 06 July 2015 17:40 | > | To: ghc-devs@haskell.org | > | Subject: Re: Backporting srcLoc t

Re: Backporting srcLoc to the GHC 7.10 branch

2015-07-11 Thread Mateusz Kowalczyk
lestoned for 7.10.2, > with specifics on it. Email gets lost; tickets don't. Noted, thanks. > Thanks > > Simon > > > | -Original Message- > | From: ghc-devs [mailto:ghc-devs-boun...@haskell.org] On Behalf Of Mateusz > | Kowalczyk > | Sent: 06 July 20

RE: Backporting srcLoc to the GHC 7.10 branch

2015-07-08 Thread Simon Peyton Jones
czyk | Sent: 06 July 2015 17:40 | To: ghc-devs@haskell.org | Subject: Re: Backporting srcLoc to the GHC 7.10 branch | | On 04/20/2015 05:29 PM, Niklas Hambüchen wrote: | > Hello everybody, | > | > I'm glad to announce that I performed the suggested backporting as part | of | > my w

Re: Backporting srcLoc to the GHC 7.10 branch

2015-07-06 Thread Mateusz Kowalczyk
On 04/20/2015 05:29 PM, Niklas Hambüchen wrote: > Hello everybody, > > I'm glad to announce that I performed the suggested backporting as part of > my work for FP Complete! > > With the help of Eric (thanks for your support in #ghc!) we now have this > patch for 7.10 and 7.8. > > As promised,

Re: Backporting srcLoc to the GHC 7.10 branch

2015-04-21 Thread Niklas Hambüchen
On 21/04/15 01:29, Niklas Hambüchen wrote: > We would like to make 7.8 and 7.10 binaries with this feature available as > well, and will do so after getting a review! Here's a 64-bit Linux binary distribution of 7.10 including this backport: https://github.com/nh2/ghc/releases/tag/ghc-7.10.1-r

Re: Backporting srcLoc to the GHC 7.10 branch

2015-04-21 Thread Niklas Hambüchen
On 22/04/15 02:42, RodLogic wrote: > Fyi: what about assert? Afaik, there is special treatment in the > compiler for the assert that could be replaced by this (?). Yes, replacing the custom code for `assert` was also on Eric's plan, see the comment he just made: https://phabricator.haskell.org/

Re: Backporting srcLoc to the GHC 7.10 branch

2015-04-21 Thread Niklas Hambüchen
On 22/04/15 01:33, Niklas Hambüchen wrote: > I will upload that as a Phabricator Diff soon, and mention the URL here. Here it is: https://phabricator.haskell.org/D861 ___ ghc-devs mailing list ghc-devs@haskell.org http://mail.haskell.org/cgi-bin/mailman/

Re: Backporting srcLoc to the GHC 7.10 branch

2015-04-21 Thread RodLogic
Hi Niklas, Fyi: what about assert? Afaik, there is special treatment in the compiler for the assert that could be replaced by this (?). On Tuesday, April 21, 2015, Niklas Hambüchen wrote: > Yes, I do have work in progress on using this feature in `error` and > `undefined`. > > I will upload tha

Re: Backporting srcLoc to the GHC 7.10 branch

2015-04-21 Thread Niklas Hambüchen
Yes, I do have work in progress on using this feature in `error` and `undefined`. I will upload that as a Phabricator Diff soon, and mention the URL here. Niklas On 21/04/15 02:07, Greg Weber wrote: > Thanks a lot! Is there any plan to make error or other partial functions > in the base librarie

Re: Backporting srcLoc to the GHC 7.10 branch

2015-04-20 Thread Greg Weber
Thanks a lot! Is there any plan to make error or other partial functions in the base libraries use this feature? On Mon, Apr 20, 2015 at 9:29 AM, Niklas Hambüchen wrote: > Hello everybody, > > I'm glad to announce that I performed the suggested backporting as part of > my work for FP Complete! >

Re: Backporting srcLoc to the GHC 7.10 branch

2015-04-20 Thread Niklas Hambüchen
Hello everybody, I'm glad to announce that I performed the suggested backporting as part of my work for FP Complete! With the help of Eric (thanks for your support in #ghc!) we now have this patch for 7.10 and 7.8. As promised, here are the commits: * https://github.com/nh2/ghc/commits/ghc-7.

Re: Backporting srcLoc to the GHC 7.10 branch

2015-03-24 Thread Michael Snoyman
Thanks for the feedback everyone. If/when we decide to backport the patch, we'll be sure to make the commit available for others interested in running a custom build of GHC. And thank you for the offer of help Eric, it's much appreciated :) On Mon, Mar 23, 2015 at 8:14 PM Eric Seidel wrote: > II

Re: Backporting srcLoc to the GHC 7.10 branch

2015-03-23 Thread Eric Seidel
IIRC the patch doesn't directly depend on -fwarn-redundant-constraints, but I think I ran into some merge conflicts that had to be resolved. I agree with Austin that backporting it should be doable, and would be happy to help if there's interest. Also, I still mean to submit a follow-on patch that

Re: Backporting srcLoc to the GHC 7.10 branch

2015-03-23 Thread Austin Seipp
Hi Michael, I actually tried to adopt this patch into 7.10, because I thought it was needed for another dependent patch we wanted. Unfortunately, the backtrace-via-implicit-params patch seems to depend on some prior work by Simon PJ in the typechecker (-fwarn-redundant-constraints, a rather large

RE: Backporting srcLoc to the GHC 7.10 branch

2015-03-23 Thread Simon Peyton Jones
Subject: Backporting srcLoc to the GHC 7.10 branch It looks like the srcLoc change[1] is something that some of our (FP Complete's) customers would be quite interested in getting access to sooner rather than later. Would there be any possibility of getting that patch merged into the 7.10 bran

Backporting srcLoc to the GHC 7.10 branch

2015-03-23 Thread Michael Snoyman
It looks like the srcLoc change[1] is something that some of our (FP Complete's) customers would be quite interested in getting access to sooner rather than later. Would there be any possibility of getting that patch merged into the 7.10 branch of GHC? I'm not sure if I'd try my luck at actually in