[GHC] #13054: Generating unique names with template haskell

GHC ghc-devs at haskell.org
Wed Jul 26 16:33:22 UTC 2017


#13054: Generating unique names with template haskell
-------------------------------------+-------------------------------------
        Reporter:  tim-m89           |                Owner:  (none)
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Template Haskell  |              Version:  8.0.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 simonpj):

 > I need to ensure that this `con2TagFoo` name is globally unique.

 Indeed.  So shouldn't `newName` work for that purpose?  Presumably it
 doesn't, but wouldn't it be nicer for our users if it did?

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


More information about the ghc-tickets mailing list