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

definition:
brackets :: Doc -> Doc
brackets = enclose lbracket rbracket
demand:
no demanded arguments
deterministic:
deterministic operation
documentation:
--- Document `(brackets x)` encloses document `x` in square brackets,
--- `"["` and `"]"`.
--- @param x - a document
--- @return document x enclosed in square brackets
failfree:
()
indeterministic:
referentially transparent operation
infix:
no fixity defined
iotype:
{() |-> {enclose}}
name:
brackets
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