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 m...@nh2.me wrote: Yes, I do have work in progress on using this feature in `error` and `undefined`. I will

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

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:

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 libraries