[GHC] #14443: Add a plugin phase that allows users to modify HsSyn before the desugarer
GHC
ghc-devs at haskell.org
Thu Nov 16 14:30:41 UTC 2017
#14443: Add a plugin phase that allows users to modify HsSyn before the desugarer
-------------------------------------+-------------------------------------
Reporter: ocharles | Owner: (none)
Type: feature request | Status: new
Priority: normal | Milestone:
Component: Compiler | Version: 8.2.1
Resolution: | Keywords:
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Comment (by ocharles):
> Meanwhile, can't you already do this with Template Haskell (with a bit
of more syntactic noise)?
I don't believe I can, as I need access to the type checker to see which
things I can `Show`.
Thanks for the link to Native Metaprogramming, I'll have a read.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14443#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list