Paraiso-0.3.1.0: a code generator for partial differential equations solvers.

Safe HaskellSafe-Infered

Language.Paraiso.OM.PrettyPrint

Synopsis

Documentation

prettyPrint :: Ready v g => OM v g a -> TextSource

pretty print the OM, neglecting any annotations.

prettyPrintA :: Ready v g => (a -> [Text]) -> OM v g a -> TextSource

pretty print the OM with your choice of prettyprinter for annotation.

prettyPrintA1 :: Ready v g => OM v g Annotation -> TextSource

pretty print the OM, using a default printing for annotation.