
#15826: Allow registering (Source)Plugins through the GHC API -------------------------------------+------------------------------------- Reporter: DanielG | Owner: DanielG Type: feature request | Status: new Priority: normal | Milestone: Component: GHC API | Version: 8.7 Resolution: | Keywords: Operating System: Unknown/Multiple | Architecture: | Unknown/Multiple Type of failure: None/Unknown | Test Case: Blocked By: | Blocking: Related Tickets: | Differential Rev(s): D5278 Wiki Page: | -------------------------------------+------------------------------------- Comment (by simonpj):
The reason for the existence of the ModIface is for recompilation checking.
Recomopilation checking is a ''contributory'' reason. But the `Iface` data type is incredibly useful as an intermediate between the serialised bytestring form of a `.hi` file and a fully type-checked form of the module `ModDetails`. `TcIface` goes from `ModIface` to `ModDetails`. But yes, `ModIface` is a great intermediate form on which to base fingerprint generation. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/15826#comment:6 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler