This library contains a simple pretty printer for showing
Go
programs in ShowS
format instead
of strings.
Author: Jonas Boehm, Michael Hanus
Version: July 2021
showGoProg
:: GoProg -> String -> String
Shows a Go program as a string in Go syntax. |
showGoStat
:: Int -> GoStat -> String -> String
Shows a Go statement as a string in Go syntax with indenting. |
showGoExpr
:: GoExpr -> String -> String
Shows a Go expression as a string in Go syntax. |
Shows a Go program as a string in Go syntax. |
Shows a Go statement as a string in Go syntax with indenting.
|
Shows a Go expression as a string in Go syntax. |