|
definition: |
hintToDoc :: Config -> Doc -> Doc
hintToDoc conf sH = if (hints conf && (verbosity conf) >= 1)
then text "Hint:" <+> sH
else empty
|
|
demand: |
argument 1 |
|
deterministic: |
deterministic operation |
|
documentation: |
Return `Doc` with formatted Hint. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
hintToDoc |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
Types.Config -> Text.PrettyImpl.Doc -> Text.PrettyImpl.Doc |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |