| Safe Haskell | None |
|---|---|
| Language | Haskell2010 |
Language.Fortran.PrettyPrint
Contents
Documentation
tooOld :: FortranVersion -> String -> FortranVersion -> a #
type Indentation = Maybe Int #
indent :: Indentation -> Doc -> Doc #
pprintAndRender :: IndentablePretty t => FortranVersion -> t -> Indentation -> String #
class IndentablePretty t where #
Minimal complete definition
Methods
pprint :: FortranVersion -> t -> Indentation -> Doc #
Instances
| Pretty a => IndentablePretty a # | |
| IndentablePretty [Block a] # | |
| IndentablePretty [ProgramUnit a] # | |
| IndentablePretty a => IndentablePretty (Maybe a) # | |
| IndentablePretty (Block a) # | |
| IndentablePretty (ProgramUnit a) # | |
| IndentablePretty (ProgramFile a) # | |
endGen :: Pretty a => FortranVersion -> Doc -> a -> Indentation -> Doc #
Minimal complete definition
Methods
pprint' :: FortranVersion -> t -> Doc #
Instances
| Pretty String # | |
| Pretty BinaryOp # | |
| Pretty UnaryOp # | |
| Pretty Intent # | |
| Pretty Only # | |
| Pretty BaseType # | |
| Pretty a => Pretty (Maybe a) # | |
| Pretty (DimensionDeclarator a) # | |
| Pretty (Declarator a) # | |
| Pretty (Value a) # | |
| Pretty (Index a) # | |
| Pretty (Expression a) # | |
| Pretty (DoSpecification a) # | |
| Pretty (FormatItem a) # | |
| Pretty (DataGroup a) # | |
| Pretty (Namelist a) # | |
| Pretty (CommonGroup a) # | |
| Pretty (ImpElement a) # | |
| Pretty (ImpList a) # | |
| Pretty (ControlPair a) # | |
| Pretty (Attribute a) # | |
| Pretty (Argument a) # | |
| Pretty (Use a) # | |
| Pretty (Statement a) # | |
| Pretty (Selector a) # | |
| Pretty (TypeSpec a) # | |
| Pretty (e a) => Pretty (AList e a) # | |
Orphan instances
| FirstParameter (Value a) String # | |