RE: Comparing instance heads

2009-11-19 Thread Simon Peyton-Jones
| To be more precise, I want to know if an HsDecl.InstDecl and an | InstEnv.Instance represent the same instance. Sorry David, your msg has been lurking a while in my inbox, because I couldn't figure out exactly what you were asking. Rather than no-oping I should have asked. Anyway your revised

Re: Comparing instance heads

2009-11-18 Thread David Waern
2009/11/15 David Waern : > Hi, > > My little sunday afternoon project consists of implementing comments > on instances in Haddock, but now I'm stuck. > > Here's the problem: > > Haddock associates an instance declaration with a comment using their > respective SrcLocs. So this association has to be

Comparing instance heads

2009-11-15 Thread David Waern
Hi, My little sunday afternoon project consists of implementing comments on instances in Haddock, but now I'm stuck. Here's the problem: Haddock associates an instance declaration with a comment using their respective SrcLocs. So this association has to be done using the instance declarations fr