[GHC] #8656: Identical functions in Template Haskell (was: Identical functions in Templeta Haskell)

GHC ghc-devs at haskell.org
Thu Jan 9 08:59:13 UTC 2014


#8656: Identical functions in Template Haskell
-------------------------------+-------------------------------------------
        Reporter:  jstolarek   |            Owner:
            Type:  bug         |           Status:  new
        Priority:  normal      |        Milestone:
       Component:  Template    |          Version:  7.7
  Haskell                      |         Keywords:
      Resolution:              |     Architecture:  Unknown/Multiple
Operating System:              |       Difficulty:  Easy (less than 1 hour)
  Unknown/Multiple             |       Blocked By:
 Type of failure:              |  Related Tickets:
  None/Unknown                 |
       Test Case:              |
        Blocking:              |
-------------------------------+-------------------------------------------

Comment (by jstolarek):

 > I'm also not sure how best to document this issue.
 This could be documenting by explaining why we keep two identical
 functions, eg. `varE` for consistency and `global` to maintain API
 compatibility with existing code. Next person to see these two identical
 functions would not spend their time trying to figure out why do we have
 duplicate code :-)

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


More information about the ghc-tickets mailing list