CurryInfo: currydoc-4.0.0 / CurryDoc.Read.getFuncComment

definition:
 
getFuncComment :: String -> [(SourceLine,String)] -> String
getFuncComment _ [] = ""
getFuncComment fname ((def, cmt):fdcmts) = case def of
  FuncDef f -> if fname == f then cmt else getFuncComment fname fdcmts
  _         -> getFuncComment fname fdcmts
demand:
 argument 2
deterministic:
 deterministic operation
documentation:
 
-----------------------------------------------------------------------
get comment for a function name:
failfree:
 (_, _)
indeterministic:
 referentially transparent operation
infix:
 no fixity defined
iotype:
 {(_,{[]}) |-> {[]} || (_,{:}) |-> _}
name:
 getFuncComment
precedence:
 no precedence defined
result-values:
 _
signature:
 String -> [(SourceLine, String)] -> String
solution-complete:
 operation might suspend on free variables
terminating:
 possibly non-terminating
totally-defined:
 reducible on all ground data terms