| |||||||||||||||
| |||||||||||||||
Synopsis | |||||||||||||||
| |||||||||||||||
Documentation | |||||||||||||||
parseModuleHeader :: String -> Either String (String, HaddockModInfo RdrName) | |||||||||||||||
parseKey :: String -> String -> Maybe (String, String) | |||||||||||||||
This function is how we read keys. all fields in the header are optional and have the form
Thus for the key Description, Description : this is a rather long description The module comment starts here the value will be this is a .. description and the rest will begin at The module comment. | |||||||||||||||
type Field a = ([Located a], LBangType a, Maybe (LHsDoc a)) | |||||||||||||||
addFieldDoc :: Field a -> Maybe (LHsDoc a) -> Field a | |||||||||||||||
addFieldDocs :: [Field a] -> Maybe (LHsDoc a) -> [Field a] | |||||||||||||||
addConDoc :: LConDecl a -> Maybe (LHsDoc a) -> LConDecl a | |||||||||||||||
addConDocs :: [LConDecl a] -> Maybe (LHsDoc a) -> [LConDecl a] | |||||||||||||||
addConDocFirst :: [LConDecl a] -> Maybe (LHsDoc a) -> [LConDecl a] | |||||||||||||||
Produced by Haddock version 2.3.0 |