Handling source locations in HsSyn via TTG

Vladislav Zavialov vladislav at serokell.io
Mon Oct 28 10:20:19 UTC 2019


> Note that the MR description is a little misleading and I should update it: I'm using an open type family, really. 

Ah, that’s good to know. In this case, I’m in support.

- Vlad

> On 28 Oct 2019, at 13:13, Sebastian Graf <sgraf1337 at gmail.com> wrote:
> 
> Hi Vlad,
> 
> Note that the MR description is a little misleading and I should update it: I'm using an open type family, really. See the section for solution D on the wiki page that shows how to extend the approach to Haddock (which needs SrcLocs, too).
> If I understand correctly, you're advocating solution B. If you can think of any more Pros and Cons (comparing to solution D, in particular), feel free to edit the wiki page.
> 
> Sebastian
> _______________________________________________
> ghc-devs mailing list
> ghc-devs at haskell.org
> http://mail.haskell.org/cgi-bin/mailman/listinfo/ghc-devs



More information about the ghc-devs mailing list