RE: Generic deriving in GHC

2011-01-28 Thread Simon Peyton-Jones
es is the main reason we're planning the move to Git. Simon From: José Pedro Magalhães [mailto:j...@cs.uu.nl] Sent: 28 January 2011 13:12 To: Max Bolingbroke Cc: Simon Peyton-Jones; cvs-ghc@haskell.org Subject: Re: Generic deriving in GHC 2011/1/28 Max Bolingbroke mailto:batterseapo...@h

Re: Generic deriving in GHC

2011-01-28 Thread José Pedro Magalhães
2011/1/28 Max Bolingbroke > 2011/1/28 José Pedro Magalhães : > >> darcs get http://darcs.haskell.org/ghc-generic-11Oct10/ghc --lazy > >> cd ghc > >> darcs pull http://darcs.haskell.org/ghc -a > > > > and see if darcs hangs on this last step? > > It does not hang for me (Darcs 2.4.4). It does take

Re: Generic deriving in GHC

2011-01-28 Thread Max Bolingbroke
2011/1/28 José Pedro Magalhães : >> darcs get http://darcs.haskell.org/ghc-generic-11Oct10/ghc --lazy >> cd ghc >> darcs pull http://darcs.haskell.org/ghc -a > > and see if darcs hangs on this last step? It does not hang for me (Darcs 2.4.4). It does take a few minutes though! Cheers, Max __

Re: Generic deriving in GHC

2011-01-28 Thread José Pedro Magalhães
n...@haskell.org] *On > Behalf Of *José Pedro Magalhães > *Sent:* 21 January 2011 06:45 > *To:* Simon Marlow > > *Cc:* cvs-ghc@haskell.org > *Subject:* Re: Generic deriving in GHC > > > > Hi, > > 2010/10/11 Simon Peyton-Jones > > Great!. You sh

RE: Generic deriving in GHC

2011-01-21 Thread Simon Peyton-Jones
m: cvs-ghc-boun...@haskell.org [mailto:cvs-ghc-boun...@haskell.org] On Behalf Of José Pedro Magalhães Sent: 21 January 2011 06:45 To: Simon Marlow Cc: cvs-ghc@haskell.org Subject: Re: Generic deriving in GHC Hi, 2010/10/11 Simon Peyton-Jones mailto:simo...@microsoft.com>> Great!. You s

Re: Generic deriving in GHC

2011-01-20 Thread José Pedro Magalhães
Hi, 2010/10/11 Simon Peyton-Jones > Great!. You should be able to > > darcs get http://darcs.haskell.org/ghc-generic-11Oct10/ghc > How will this branch be affected by the transition to git? Thanks, Pedro ___ Cvs-ghc mailing list Cv

RE: Generic deriving in GHC

2010-10-29 Thread Simon Peyton-Jones
Can you tell me what is the best way to create new (empty) datatypes? We need those for the meta-information. Basically, a user-defined datatype data A a = A0 | A1 a (A a) gives rise to compiler-generated datatypes data D_A data C_A0 data C_A1 data S_A0_0 data S_A1_0 data S_A1_1 I suggest you ad

Re: Generic deriving in GHC

2010-10-29 Thread José Pedro Magalhães
Hi Simon, 2010/10/28 Simon Peyton-Jones > OK good. I got it built. Then I compiled > > data D = D > > with –XGenerics –ddump-deriv –dppr-debug > > The “-dppr-debug” flag makes the uniques show up. > > > > Then you can see that the two from0 occurrences have different uniques, > hen

RE: Generic deriving in GHC

2010-10-28 Thread Simon Peyton-Jones
work together. Eg you can record open problems, or to-do lists. Simon From: José Pedro Magalhães [mailto:j...@cs.uu.nl] Sent: 27 October 2010 13:39 To: Simon Peyton-Jones Cc: cvs-ghc@haskell.org Subject: Re: Generic deriving in GHC Ok, I think I now succeeded in pushing my patches to darcs.hask

Re: Generic deriving in GHC

2010-10-27 Thread José Pedro Magalhães
Ok, I think I now succeeded in pushing my patches to darcs.haskell.org, along with all the patches pushed so far to the repos we've cloned (ghc, ghc-prim and base). Cheers, Pedro 2010/10/25 José Pedro Magalhães > Hi, > > Currently I have all the generics stuff in GHC.Generics in ghc-prim, but

Re: Generic deriving in GHC

2010-10-23 Thread Ian Lynagh
On Fri, Oct 15, 2010 at 08:02:01AM +, Simon Peyton-Jones wrote: > > I'm not sure why Bool is declared in a one-line module GHC.Bool, rather than > in GHC.Types. Ian? Couldn't it go in GHC.Types? I think the only reason is that GHC.Bool predated GHC.Types. I've merged them. > Ian, can you

RE: Generic deriving in GHC

2010-10-15 Thread Simon Peyton-Jones
ng GHC.Generics. Simon From: José Pedro Magalhães [mailto:j...@cs.uu.nl] Sent: 13 October 2010 16:08 To: Simon Peyton-Jones Subject: Re: Generic deriving in GHC Hi Simon, So, I replaced the current GHC.Generics with my base module, and two issues arise: 1) The meta-information classes (which

RE: Generic deriving in GHC

2010-10-11 Thread Simon Peyton-Jones
Great!. You should be able to darcs get http://darcs.haskell.org/ghc-generic-11Oct10/ghc Then cd into that new directory and ./darcs-all get should get the rest. This repo has a · Clone of ghc, ghc-prim, base · Symbolic links for all the others