TerrorJack / ghc-alter

Utilities for building Haskell tooling with ghc.
9 stars 0 forks source link

More general Settings for eval functionality #26

Open TerrorJack opened 7 years ago

TerrorJack commented 7 years ago

Most general Settings type would be a newtype of DynFlags -> DynFlags, to set up anything like pkgdb, pkgs, exts, etc. But it's hard to pretty-print. An existential Show member might help here..

TerrorJack commented 7 years ago

Current solution: replace unsafeEval with far more restrictive unsafeImport.