CurryInfo: currydoc-4.0.0 / CurryDoc.Read.getFuncComment

definition: Info
 
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: Info
 argument 2
deterministic: Info
 deterministic operation
documentation: Info
 
-----------------------------------------------------------------------
get comment for a function name:
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,{[]}) |-> {[]} || (_,{:}) |-> _}
name: Info
 getFuncComment
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 String -> [(SourceLine, String)] -> String
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 reducible on all ground data terms