CurryInfo: wl-pprint-3.0.0 / Text.Pretty.parens

definition:
parens :: Doc -> Doc
parens = enclose lparen rparen
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Document `(parens x)` encloses document `x` in parenthesis,
--- `"("` and `")"`.
--- @param x - a document
--- @return document x enclosed in parenthesis
failfree:
()
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> {enclose}}
name:
parens
precedence:
no precedence defined
result-values:
{enclose}
signature:
Text.PrettyImpl.Doc -> Text.PrettyImpl.Doc
solution-complete:
operation might suspend on free variables
terminating:
yes
totally-defined:
possibly non-reducible on same data term