Test.DocTest.Internal.Extract
data Module a Source #
Documentation for a module grouped together with the modules name.
Constructors
Fields
Defined in Extract
Methods
fmap :: (a -> b) -> Module a -> Module b #
(<$) :: a -> Module b -> Module a #
showsPrec :: Int -> Module a -> ShowS #
show :: Module a -> String #
showList :: [Module a] -> ShowS #
rnf :: Module a -> () #
(==) :: Module a -> Module a -> Bool #
(/=) :: Module a -> Module a -> Bool #
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).