RE: Proposed: Language.Haskell.TH.Internal

2017-07-18 Thread Simon Peyton Jones via ghc-devs
: Ryan Scott <ryan.gl.sc...@gmail.com> | Subject: Proposed: Language.Haskell.TH.Internal | | Hi devs, | | This is a brief proposal for an internal, non-user-facing restructuring | of the implementation of Template Haskell. It's here (instead of at ghc- | proposals) because it's not user-facin

Re: Proposed: Language.Haskell.TH.Internal

2017-07-18 Thread Alan & Kim Zimmerman
This can serve as a starting point for the Trees that Grow implementation too, I understand Shayan Najd is intending to eventually harmonise the hsSyn AST and the TH one. Alan On 18 July 2017 at 14:27, Richard Eisenberg wrote: > Hi devs, > > This is a brief proposal for

Proposed: Language.Haskell.TH.Internal

2017-07-18 Thread Richard Eisenberg
Hi devs, This is a brief proposal for an internal, non-user-facing restructuring of the implementation of Template Haskell. It's here (instead of at ghc-proposals) because it's not user-facing. When a user writes a TH quote [| foo bar baz |], GHC must desugar that into some Core code that