[GHC] #13776: -ddump-splices produces unnecessarily qualified names for tuple and list types
GHC
ghc-devs at haskell.org
Mon Aug 21 14:07:49 UTC 2017
#13776: -ddump-splices produces unnecessarily qualified names for tuple and list
types
-------------------------------------+-------------------------------------
Reporter: RyanGlScott | Owner: mrkgnao
Type: bug | Status: new
Priority: normal | Milestone:
Component: Template Haskell | Version: 8.0.1
Resolution: | Keywords: newcomer
Operating System: Unknown/Multiple | Architecture:
| Unknown/Multiple
Type of failure: None/Unknown | Test Case:
Blocked By: | Blocking:
Related Tickets: | Differential Rev(s):
Wiki Page: |
-------------------------------------+-------------------------------------
Changes (by RyanGlScott):
* owner: (none) => mrkgnao
Comment:
Thanks, mrkgnao! You're on the right track by looking at the `template-
haskell` source code. In particular, I think `showName'` is what needs to
change, since that's what is responsible for printing out qualified
`Name`s. It might be a simple matter of checking if a `Name` is in a set
of special names (like `[]`, `(,)`, etc.) and printing it out unqualified
if there's a match.
If you have any other questions, feel free to ask on this ticket.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13776#comment:4>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list