CurryInfo: golang-1.0.0 / Language.Go.Show.showGoCommaList

definition:
 
showGoCommaList :: (a -> String) -> [a] -> String
showGoCommaList _ []           = ""
showGoCommaList f [x]          = f x
showGoCommaList f (x:xs@(_:_)) = (f x) ++ ", " ++ (showGoCommaList f xs)
demand:
 argument 2
deterministic:
 deterministic operation
documentation:
 
Shows a List of a Go type as a comma separated list in go syntax.
@param f    - function to show the Go type as a string in go syntax
@param list - list of a Go type
failfree:
 (_, _)
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_,{[]}) |-> {[]} || (_,{:}) |-> _}
name:
 showGoCommaList
precedence:
 no precedence defined
result-values:
 _
signature:
 (a -> String) -> [a] -> String
solution-complete:
 operation might suspend on free variables
terminating:
 yes
totally-defined:
 reducible on all ground data terms