|
definition: |
getDataComment :: String -> [(SourceLine,String)] -> String getDataComment _ [] = "" getDataComment n ((def, cmt):fdcmts) = case def of DataDef d -> if n == d then cmt else getDataComment n fdcmts _ -> getDataComment n fdcmts |
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
get comment for a type name: |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,{[]}) |-> {[]} || (_,{:}) |-> _}
|
|
name: |
getDataComment |
|
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 |