hex package:ghc

Puts the ModIface to the WriteBinHandle. This avoids serialisation of the ModIface if the fields mi_hi_bytes contains a Just value. This field is populated by reading the ModIface using getIfaceWithExtFields and not modifying it in any way afterwards.
Temporarily extend the loaded env.
Version of System.Process.readProcessWithExitCode that takes a key-value tuple to insert into the environment.
A convenient wrapper for taking a MaybeErr SDoc a and throwing an exception if it is an error.
Breaks apart a function kind into its pieces.
Use this function to split off arguments types when you have an "expected" type. This function skolemises at each polytype. Invariant: this function only applies the provided function to a list of argument types which all have a syntactically fixed RuntimeRep in the sense of Note [Fixed RuntimeRep] in GHC.Tc.Utils.Concrete. See Note [Return arguments with a fixed RuntimeRep].