Re: Generics, #5224 and #5227

2011-06-09 Thread José Pedro Magalhães
Hi, 2011/6/9 Simon Peyton-Jones > For #5227 I’ve just written some comments; I suggest we just derive > Generic up to 7-tuples. Can you try that? > Done. Cheers, Pedro ___ Cvs-ghc mailing list Cvs-ghc@haskell.org http://www.haskell.org/mailman/list

RE: Generics, #5224 and #5227

2011-06-09 Thread Simon Peyton-Jones
For #5227 I've just written some comments; I suggest we just derive Generic up to 7-tuples. Can you try that? For #5224, I've also written a comment. I think I know what to do, but I think it'd be a bit of work for you to figure out how to do it. I'll get to it S From: José Pedro Magalhães [

Re: Generics

2010-04-08 Thread Ian Lynagh
On Wed, Apr 07, 2010 at 07:37:39PM +0200, David Waern wrote: > 2010/3/30 David Waern : > > 2010/3/22 David Waern : > >> OK, that's great. I'll see if I can come up with some patches at a later > >> time. > > > > Attached is a patch that moves the instances from ghc-syb into GHC. It > > passed vali

Re: Generics

2010-04-07 Thread David Waern
2010/3/30 David Waern : > 2010/3/22 David Waern : >> OK, that's great. I'll see if I can come up with some patches at a later >> time. >> >> David >> > > Attached is a patch that moves the instances from ghc-syb into GHC. It > passed validation today. > > David This got stuck in the moderation qu

Re: Generics

2010-03-28 Thread David Waern
2010/3/28 Thomas Schilling : > The only part of ghc-syb that depends on syb is the GHC.SYB.Utils module.  I > moved that into a separate package.  ghc-syb-0.2 now only depends on base and > the ghc package.  The new package is ghc-syb-utils-0.2. Thanks Thomas but since I want to use the instance

Re: Generics

2010-03-28 Thread Thomas Schilling
The only part of ghc-syb that depends on syb is the GHC.SYB.Utils module. I moved that into a separate package. ghc-syb-0.2 now only depends on base and the ghc package. The new package is ghc-syb-utils-0.2. HTH On 28 Mar 2010, at 16:10, David Waern wrote: > 2010/3/22 Thomas Schilling : >>

Re: Generics

2010-03-28 Thread David Waern
2010/3/22 Thomas Schilling : > I wonder if the ghc-syb package really needs to depend on syb.  Just > data may be enough if we split it up.  How would you make use of syb > without depending on the syb package? I would copy the parts I need. If it was possible to depend on syb I'd prefer that of c

Re: Generics

2010-03-22 Thread Thomas Schilling
I wonder if the ghc-syb package really needs to depend on syb. Just data may be enough if we split it up. How would you make use of syb without depending on the syb package? On 22 March 2010 11:08, David Waern wrote: > 2010/3/22 Simon Peyton-Jones : >> | We've discussed support for generic prog

Re: Generics

2010-03-22 Thread David Waern
2010/3/22 Simon Peyton-Jones : > | We've discussed support for generic programming of the GHC AST before. > | Is there any chance we could move further on this topic by providing > | Data and Typeable instances for HsSyn either directly in the ghc > | package or in a boot library? > > I'm not again

RE: Generics

2010-03-22 Thread Simon Peyton-Jones
| We've discussed support for generic programming of the GHC AST before. | Is there any chance we could move further on this topic by providing | Data and Typeable instances for HsSyn either directly in the ghc | package or in a boot library? I'm not against that. If we do it, we should do it in