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