Download Manual

Transcript
defaultOptions :: Options
Default Options for pretty-printing.
ppProg :: Options → Prog → Doc
pretty-print a FlatCurry module
ppHeader :: Options → String → [TypeDecl] → [FuncDecl] → Doc
pretty-print the module header
ppExports :: Options → [TypeDecl] → [FuncDecl] → Doc
pretty-print the export list
ppTypeExport :: Options → TypeDecl → Doc
pretty-print a type export
ppConsExports :: Options → [ConsDecl] → [Doc]
pretty-print the export list of constructors
ppFuncExports :: Options → [FuncDecl] → [Doc]
pretty-print the export list of functions
ppImports :: Options → [String] → Doc
pretty-print a list of import statements
ppImport :: Options → String → Doc
pretty-print a single import statement
ppOpDecls :: Options → [OpDecl] → Doc
pretty-print a list of operator fixity declarations
ppOpDecl :: Options → OpDecl → Doc
pretty-print a single operator fixity declaration
ppFixity :: Fixity → Doc
pretty-print the associativity keyword
ppTypeDecls :: Options → [TypeDecl] → Doc
pretty-print a list of type declarations
ppTypeDecl :: Options → TypeDecl → Doc
243