[GHC] #13776: -ddump-splices produces unnecessarily qualified names for tuple and list types

GHC ghc-devs at haskell.org
Fri Jun 2 02:19:54 UTC 2017


#13776: -ddump-splices produces unnecessarily qualified names for tuple and list
types
-------------------------------------+-------------------------------------
        Reporter:  RyanGlScott       |                Owner:  (none)
            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:                    |
-------------------------------------+-------------------------------------

Comment (by RyanGlScott):

 Replying to [comment:1 goldfire]:
 > Should the pretty-printer look under `ConT` constructors for certain
 names (tuples, lists, etc) and print out the right thing?

 Even better, one might envision changing the `Ppr Name` instance so that
 special constructors like `[]`, `(,)`, etc. are never printed qualified.
 After all, they don't make sense to print qualified!

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/13776#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list