|
definition: |
defaultString :: String -> String -> String defaultString def s = if null s then def else s |
|
demand: |
argument 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
---------------------------------------------------------------------- If the second argument is a null string, return the first argument (the default string), otherwise return the second argument. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
defaultString |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
String -> String -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |