Preliminary support for compiling signature files, using --instantiate-with.
There's no chrome here, but some of the guts for Cabal supporting compiling signatures. The key UI is a new --instantiate-with flag for ./Setup (no support cabal-install side!) which properly modifies the package key, calculates extra hole dependencies for a package, and ensures an appropriately translated -sig-of is passed to GHC. The UI here is supremely user-unfriendly: the intent is that users will use cabal-install to calculate these parameters for them. ToDo: Cabal's inconsistency check in ./Setup needs to be adjusted to be less zealous. Signed-off-by: Edward Z. Yang <email@example.com>
Showing with 220 additions and 33 deletions