[GHC] #14391: Make the simplifier independent of the typechecker

GHC ghc-devs at haskell.org
Thu Nov 9 18:40:34 UTC 2017


#14391: Make the simplifier independent of the typechecker
-------------------------------------+-------------------------------------
        Reporter:  nomeata           |                Owner:  (none)
            Type:  task              |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  Compiler          |              Version:  8.3
      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 jkiefer):

 Alrighty! First question while I investigate more into performing a
 minimal lookup instead of using `initTcForLookup`.

 (Bear with me, I'm writing some of this out as I understand it myself)

 We want to refactor `thNameToGhcName` to no longer be a part of CoreMonad
 and instead exist in a module to be pulled by `GhcPlugins.hs`.

 Do correct me if I'm wrong, but creating a singleton module with just
 `thNameToGhcName` in it seems like a naive approach. Is there an existing
 module that is pulled in by `GhcPlugins.hs`that would be an appropriate
 home for `thNameToGhcName`? Or should a new one simply be created?

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


More information about the ghc-tickets mailing list