[GHC] #14391: Make the simplifier independent of the typechecker
GHC
ghc-devs at haskell.org
Mon Mar 5 21:37:03 UTC 2018
#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 ulysses4ever):
One more question. Consider a part of `tcImportDecl_maybe`:
{{{
initIfaceTcRn (importDecl name)
}}}
You said that it is necessary to create a variant of `initIfaceTcRn`. That
sounds fine. But here is another thing: `importDecl` has `IfM` in its
type. And `IfM` is defined in `TcRnTypes`, so leaving it doesn't bring us
decoupling from the typechecker. Should we also replace `importDecl`? This
sounds like a lot of work, because it depends on `loadInterface` which is
>100 LOCs.
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14391#comment:9>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list