|
definition: |
showGoProg :: GoProg -> String showGoProg (GoProg package imports decls) = "package " ++ package ++ "\n\n" ++ (showGoImports imports ) ++ (concatMap (\x -> (showGoTopLevelDecl x) ++ "\n") 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}) |-> _}
|
|
name: |
showGoProg |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Language.Go.Types.GoProg -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |