Safe Haskell | None |
---|---|
Language | Haskell2010 |
Test.DocTest.Internal.Extract
Synopsis
- data Module a = Module {
- moduleName :: String
- moduleSetup :: Maybe a
- moduleContent :: [a]
- moduleConfig :: [Located String]
- extract :: [String] -> IO [Module (Located String)]
- eraseConfigLocation :: Module a -> Module a
Documentation
Documentation for a module grouped together with the modules name.
Constructors
Module | |
Fields
|
Instances
extract :: [String] -> IO [Module (Located String)] Source #
Extract all docstrings from given list of files/modules.
This includes the docstrings of all local modules that are imported from those modules (possibly indirect).
eraseConfigLocation :: Module a -> Module a Source #