CurryInfo: currydoc-4.0.0 / CurryDoc.Read.brackets

definition: Info
 
brackets :: Bool -> String -> String
brackets False s = s
brackets True  s = "("++s++")"
demand: Info
 argument 1
deterministic: Info
 deterministic operation
documentation: Info
 
if first argument is True, put brackets around second argument:
failfree: Info
 (_, _)
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {({False},_) |-> _ || ({True},_) |-> _}
name: Info
 brackets
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Bool -> String -> String
solution-complete: Info
 operationally complete operation
terminating: Info
 yes
totally-defined: Info
 reducible on all ground data terms