definition:
|
showGoProg :: GoProg -> ShowS
showGoProg (GoProg package imports decls) =
showString "package " . showString package . showLn . showLn .
showGoImports imports .
mapS (\x -> showGoTopLevelDecl x . showLn) decls
|
demand:
|
argument 1
|
deterministic:
|
deterministic operation
|
documentation:
|
--- Shows a Go program as a string in Go syntax.
|
failfree:
|
_
|
indeterministic:
|
referentially transparent operation
|
infix:
|
no fixity defined
|
iotype:
|
{({GoProg}) |-> {.._#lambda508}}
|
name:
|
showGoProg
|
precedence:
|
no precedence defined
|
result-values:
|
{.._#lambda508}
|
signature:
|
Language.Go.Types.GoProg -> String -> String
|
solution-complete:
|
operation might suspend on free variables
|
terminating:
|
possibly non-terminating
|
totally-defined:
|
possibly non-reducible on same data term
|