[GHC] #8878: Export runTcInteractive from TcRnDriver
GHC
ghc-devs at haskell.org
Wed Mar 12 09:19:55 UTC 2014
#8878: Export runTcInteractive from TcRnDriver
-------------------------------------------+-------------------------------
Reporter: holzensp | Owner:
Type: feature request | Status: new
Priority: lowest | Milestone: 7.8.1
Component: Compiler | Version: 7.6.3
Keywords: | Operating System:
Architecture: Unknown/Multiple | Unknown/Multiple
Difficulty: Easy (less than 1 hour) | Type of failure:
Blocked By: | None/Unknown
Related Tickets: | Test Case:
| Blocking:
-------------------------------------------+-------------------------------
For people writing more involved code onto GHC than the normal API
(GHC.hs) allows, this is a very useful function. In previous versions of
GHC, it has always been unclear to me how I should run the type checker
on, for example, a single expression, while keeping the context (i.e. when
running the type checker again, the types derived in the former run should
still be known in the latter). Simply having runTcInteractive exported
does wonders for self-documentation purposes.
(patch to follow shortly)
--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/8878>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the ghc-tickets
mailing list