RE: [Diffusion] [Build Failed] rGHCb78fa759bfb4: Simplify and improve CSE

2017-01-20 Thread Simon Peyton Jones via ghc-devs
I should have made it clearer that my "just below" measurement was *before* my patch. So the situation before was just on the borderline, on my machine anyway. (And the situation afterwards is still below the borderline on my machine, just not on harbourmaster.) Simon From: ghc-devs

Re: T13156

2017-01-20 Thread Ben Gamari
Ben Gamari writes: > Hi Simon, > Hi Simon, Please ignore this; my working tree was dirty. Unfortunately this means that my version of akio's top-level strings patch regresses, but I can work this out on my own. Sorry for the noise. Cheers, - Ben signature.asc

Re: Arc doesn't work

2017-01-20 Thread Reid Barton
On Fri, Jan 20, 2017 at 12:50 PM, Simon Peyton Jones wrote: > Yes that worked! THanks > https://phabricator.haskell.org/D2995 > > Will you make that change? I have done so, in commit 5ff812c14594f507c48121f16be4752eee6e3c88. Regards, Reid Barton > S > > | -Original

T13156

2017-01-20 Thread Ben Gamari
Hi Simon, I'm seeing some rather peculiar validation issues with your most recent patch. Namely, => T13156(normal) 1 of 1 [0, 0, 0] cd "./simplCore/should_compile/T13156.run" && $MAKE -s --no-print-directory T13156 Actual stdout output differs from expected: diff -uw

RE: Arc doesn't work

2017-01-20 Thread Simon Peyton Jones via ghc-devs
Yes that worked! THanks https://phabricator.haskell.org/D2995 Will you make that change? S | -Original Message- | From: Reid Barton [mailto:rwbar...@gmail.com] | Sent: 20 January 2017 17:23 | To: Simon Peyton Jones | Cc: ghc-devs@haskell.org | Subject: Re:

RE: [Diffusion] [Build Failed] rGHCb78fa759bfb4: Simplify and improve CSE

2017-01-20 Thread Simon Peyton Jones via ghc-devs
I'm sorry about all these Phab failures. I'm struggling with arc, and so committing directly. It all validates fine on my machine. They seem to be all about T1969. It validates fine on my machine. But only just! On my machine I get peak_megabytes = 64; but on Harbormaster it seems to be

Re: Arc doesn't work

2017-01-20 Thread Reid Barton
From the python 3 reference: New in version 3.3: The 'rb' prefix of raw bytes literals has been added as a synonym of 'br'. Simon, can you try replacing that occurrent of rb by br and see whether that fixes it? Just the one on the line it complained about. Regards, Reid Barton On Fri, Jan 20,

Arc doesn't work

2017-01-20 Thread Simon Peyton Jones via ghc-devs
I can't use arc. At the end of 'arc diff' it says Exception Some linters failed: - CommandException: Command failed with error #1! COMMAND python3 .arc-linters/check-cpp.py 'compiler/basicTypes/Id.hs' STDOUT (empty) STDERR File

Re: Magical function to support reflection

2017-01-20 Thread Kiss Csongor
The problem is in the reify function: ``` reify :: forall a r. a -> (forall (s :: *). Reifies s a => Proxy s -> r) -> r reify a k = unsafeCoerce (Magic k :: Magic a r) (const a) Proxy ``` here, unsafeCoerce coerces `const a` to type `a`, in the concrete case, to Int. ``` *Main> unsafeCoerce

Re: Magical function to support reflection

2017-01-20 Thread Matthew Pickering
I modified the example on the wiki to compile but I seem to have missed something, could you perhaps point out what I missed? https://gist.github.com/mpickering/da6d7852af2f6c8f59f80ce726baa864 ``` *Main> test1 2 123 441212 441335 ``` On Thu, Jan 19, 2017 at 3:58 AM, David Feuer