|
definition: |
printQualIdent :: QualIdent -> PutExact printQualIdent qid = case qid of QualIdent _ _ (Ident _ "()" _) -> empty _ -> printNode qid |
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
For the unit type `()`, the span information for the qualified identifier is missing, but the span information for the parentheses is stored in the outer `SpanInfo` (e.g., of a surrounding `ConstructorType`). In this case, we must not print the qualified identifier, but an empty string. Because the span information is part of the surrounding structure, the unit constructor `()` must be printed using the `keywords` function, instead. |
|
failfree: |
<FAILING> |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({QualIdent}) |-> _}
|
|
name: |
printQualIdent |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Curry.Ident.QualIdent -> Curry.ExactPrintClass.EPSM () |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |