This module contains a pretty printer for Julia programs.
Author: Michael Hanus
Version: November 2020
ppType
:: JLType -> Doc
Pretty print a Julia type. |
ppTypeAnn
:: Maybe JLType -> Doc
Pretty print an optional type annotation. |
ppExps
:: [JLExp] -> Doc
Pretty print a list of comma separated expressions. |
ppExp
:: JLExp -> Doc
Pretty print a Julia expression. |
ppStringLit
:: String -> Doc
|
ppVar
:: Int -> Doc
Pretty print a variable. |
ppStms
:: [JLStm] -> Doc
Pretty print Julia statements. |
ppStm
:: JLStm -> Doc
Pretty print a Julia statement. |
ppTop
:: JLTop -> Doc
|
ppScript
:: [JLTop] -> Doc
|
ppModule
:: JLModule -> Doc
|
|