definition: |
showGoFuncDecl :: GoFuncDecl -> String showGoFuncDecl (GoFuncDecl name params results body) = "func "++ name ++ "( " ++ (showGoCommaList showGoParam params) ++ " )( " ++ (showGoCommaList showGoParam results) ++ " ){\n" ++ (concatMap (showGoStat 1) body) ++ "}\n" |
demand: |
argument 1 |
deterministic: |
deterministic operation |
documentation: |
Shows a Go function declaration as a string in Go syntax. |
failfree: |
_ |
indeterministic: |
referentially transparent operation |
infix: |
no fixity defined |
iotype: |
{({GoFuncDecl}) |-> _} |
name: |
showGoFuncDecl |
precedence: |
no precedence defined |
result-values: |
_ |
signature: |
Language.Go.Types.GoFuncDecl -> String |
solution-complete: |
operation might suspend on free variables |
terminating: |
possibly non-terminating |
totally-defined: |
possibly non-reducible on same data term |