Re: I've moved the primitive package to github

2013-09-25 Thread Jan Stolarek
However, I've tried integrating the new vector/primitive versions released into the GHC build (after patching up the DPH libs), but I get Core lint errors: http://lpaste.net/93354 any idea what's going on here? I have no idea what might be the cause. During my work on new primops I

Re: I've moved the primitive package to github

2013-09-25 Thread Herbert Valerio Riedel
On 2013-09-25 at 05:50:23 +0200, Bryan O'Sullivan wrote: On Tue, Sep 24, 2013 at 6:17 PM, Herbert Valerio Riedel h...@gnu.org wrote: However, I've tried integrating the new vector/primitive versions released into the GHC build (after patching up the DPH libs), but I get Core lint errors:

Re: [commit: packages/base] master: Add fmapCoerce to Functor class. (3da4fd9)

2013-09-25 Thread Edward Kmett
The discussion was back and forth with SPJ and Richard Eisenberg during the discussion about the creation of the roles machinery and Simon suggested the shape it currently has to me last night. Having this in the class is the only way that this can lift over an 'unknown' Functor in local scope,

Re: I've moved the primitive package to github

2013-09-25 Thread Herbert Valerio Riedel
Fyi, I've been able to reproduce this failure on GHC 7.6.3 as well, and filed a ticket at http://ghc.haskell.org/trac/ghc/ticket/8355 On 2013-09-25 at 09:24:22 +0200, Herbert Valerio Riedel wrote: Hello Jan, On 2013-09-25 at 08:26:15 +0200, Jan Stolarek wrote: However, I've tried

Re: newSession

2013-09-25 Thread Herbert Valerio Riedel
On 2013-09-25 at 04:52:33 +0200, Kazu Yamamoto (山本和彦) wrote: It seems to me that newSession does not exist. But it is used in comments and error messages. fwiw, it seems to have been removed back in 2008: http://git.haskell.org/ghc.git/commitdiff/1c7d0ac0a433f85effeb5e9cfb6b303c26b201d1

Re: I've moved the primitive package to github

2013-09-25 Thread Roman Leshchinskiy
Can't post to ghc-devs from the other address so here it is again... I'm awfully sorry to have gone silent but I just can't find the time for hacking any longer. If someone wants to take over primitive and vector please feel free to do so, I'd be very grateful. Roman On 24/09/13 14:30,

RE: [commit: packages/base] master: Add fmapCoerce to Functor class. (3da4fd9)

2013-09-25 Thread Simon Peyton-Jones
This is great, but does needs some explanatory material, on the Haskell wiki or Trac. Simon | -Original Message- | From: ghc-commits [mailto:ghc-commits-boun...@haskell.org] On Behalf Of | g...@git.haskell.org | Sent: 25 September 2013 05:38 | To: ghc-comm...@haskell.org | Subject:

Incorrect Binding in GHCi (trac #6098)

2013-09-25 Thread Paul Cavallaro
Hey All, I'm trying to get up and running on this bug, but largely seem to be chasing my tail. I've tried turning on -ddump-tc and -ddump-tc-trace and followed the output there (git grepped through code), and explored around, but any sort of high level advice for chasing this bug down would be

Re: [commit: packages/base] master: Add fmapCoerce to Functor class. (3da4fd9)

2013-09-25 Thread Ross Paterson
On Wed, Sep 25, 2013 at 10:18:51PM +0200, Joachim Breitner wrote: given the recently intensified urge to make GHC a more community driven project, may I suggest to reduce the amount of off-list discussions? I find it very confusing if some discussions happen on list, some discussion on list

fmapCoerce / changes in 7.8

2013-09-25 Thread Richard Eisenberg
In light of the conversations I've been having with Edward and others, I, too, wonder if we should wait a little before doing this. There is no burning fire here. Though we have Coercible in 7.8, that doesn't mean we *have* to use it. The old trick to use unsafeCoerce in the situations Edward