Hide -Weverything warnings for GHCi internals
module Bar where
import Bar main :: IO () main = print ""
ghci Main.hs -Weverything produces
... GHCi, version 8.7.20190113: http://www.haskell.org/ghc/ :? for help <interactive>:1:1: warning: [-Wmissing-local-signatures] Polymorphic local binding with no type signature: _compileParsedExpr :: forall a. GHC.Types.IO a -> GHC.Types.IO a <interactive>:1:1: warning: [-Wmissing-import-lists] The module `Prelude' does not have an explicit import list <no location info>: warning: [-Wmissing-home-modules] Modules are not listed in command line but needed for compilation: Bar [1 of 2] Compiling Bar ( Bar.hs, interpreted ) ...
Those three errors have nothing to do with my code, and seem to be related to the internals of how GHCi works. It would be nice to hide all three.