fortran-src-0.1.0.6: Parser and anlyses for Fortran standards 66, 77, 90.

Safe HaskellNone
LanguageHaskell2010

Language.Fortran.PrettyPrint

Contents

Documentation

(<?>) :: Doc -> Doc -> Doc infixl 7 Source #

(<?+>) :: Doc -> Doc -> Doc infixl 7 Source #

class Pretty t where Source #

Minimal complete definition

pprint'

Methods

pprint' :: FortranVersion -> t -> Doc Source #

Instances

Pretty String Source # 
Pretty BinaryOp Source # 
Pretty UnaryOp Source # 
Pretty Intent Source # 
Pretty Only Source # 
Pretty BaseType Source # 
Pretty a => Pretty (Maybe a) Source # 
Pretty (DimensionDeclarator a) Source # 
Pretty (Declarator a) Source # 
Pretty (Value a) Source # 
Pretty (Index a) Source # 
Pretty (Expression a) Source # 
Pretty (DoSpecification a) Source # 
Pretty (FormatItem a) Source # 
Pretty (DataGroup a) Source # 
Pretty (Namelist a) Source # 
Pretty (CommonGroup a) Source # 
Pretty (ImpElement a) Source # 
Pretty (ImpList a) Source # 
Pretty (ControlPair a) Source # 
Pretty (Attribute a) Source # 
Pretty (Argument a) Source # 
Pretty (Use a) Source # 

Methods

pprint' :: FortranVersion -> Use a -> Doc Source #

Pretty (Statement a) Source # 
Pretty (Selector a) Source # 
Pretty (TypeSpec a) Source # 
Pretty (e a) => Pretty (AList e a) Source # 

Methods

pprint' :: FortranVersion -> AList e a -> Doc Source #

Orphan instances