rewire-embedder-2.8: A ReWire-to-Isabelle embedder
Safe HaskellSafe
LanguageHaskell2010

ReWire.HSE.PassInfo

Description

Verbose pass tracing for the HSE front end (the haskell-src-exts halves of what ReWire.Pass used to provide; the HSE-free scaffolding stays in rewire-frontend).

Synopsis

Documentation

printInfoTop :: MonadIO m => Text -> Renamer -> Text -> Bool -> Text -> m () Source #

Dump the header plus (when verbose) the renamer, exports, imports, and the Show'd module. The imports and module are taken pre-rendered so callers can choose the rendering.

printInfoHSE :: MonadIO m => Text -> Renamer -> Text -> Bool -> Module a -> m (Module a) Source #