Module CurryDoc.CDoc

Functions to generate documentation in "CDoc" format.

Author: Sandra Dylus

Version: March 2021

Summary of exported operations:

generateCDoc :: String -> String -> [(SourceLine,String)] -> AnaInfo -> IO String  Non-deterministic 
removeForall :: TypeExpr -> TypeExpr  Deterministic 
funcComment :: String -> [(SourceLine,String)] -> String  Deterministic 
dataComment :: String -> [(SourceLine,String)] -> String  Deterministic 
flexRigid :: Rule -> FlexRigidResult  Deterministic 
author :: [(String,String)] -> String  Deterministic 
consSignature :: ConsDecl -> ((String,String),[TypeExpr])  Deterministic 
newconsSignature :: NewConsDecl -> ((String,String),[TypeExpr])  Deterministic 

Exported datatypes:


ModuleInfo

Constructors:

  • ModuleInfo :: String -> String -> String -> ModuleInfo

CurryInfo

Constructors:


FunctionInfo

Constructors:


TypeInfo

Constructors:


Exported operations:

generateCDoc :: String -> String -> [(SourceLine,String)] -> AnaInfo -> IO String  Non-deterministic 

funcComment :: String -> [(SourceLine,String)] -> String  Deterministic 

dataComment :: String -> [(SourceLine,String)] -> String  Deterministic 

author :: [(String,String)] -> String  Deterministic 

consSignature :: ConsDecl -> ((String,String),[TypeExpr])  Deterministic 

newconsSignature :: NewConsDecl -> ((String,String),[TypeExpr])  Deterministic