pollock-0.1.0.0: Functionality to help examine Haddock information of a module.
Copyright(c) Trevis Elser 2023
LicenseMIT
Maintainertrevis@flipstone.com
Stabilityexperimental
Safe HaskellSafe-Inferred
LanguageHaskell2010

Pollock

Description

 
Synopsis

Documentation

processModule :: MonadIO m => TcGblEnv -> m ModuleInfo Source #

Read a module from a TcGblEnv to determine information about the Haddock as seen with ModuleInfo.

Since: 0.1.0.0

data ModuleHeader Source #

Constructors

ModuleHeader 

Fields

data ModuleInfo Source #

Constructors

ModuleInfo 

Fields

ensureHaddockIsOn :: [a] -> HscEnv -> IO HscEnv Source #

A helper suitable for use to set as driverPlugin that ensures the Haddock option is set to allow other funcationality provided here to work.