|
definition: |
eqString :: String -> String -> Bool eqString [] [] = True eqString [] (_:_) = False eqString (_:_) [] = False eqString (x:xs) (y:ys) = eqChar x y && eqString xs ys |
|
demand: |
arguments 1 2 |
|
deterministic: |
deterministic operation |
|
documentation: |
| Equality on strings. This is a specialized implementation to avoid problems with KiCS2. |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{({[]},{[]}) |-> {True} || ({[]},{:}) |-> {False} || ({:},{[]}) |-> {False} || ({:},{:}) |-> _}
|
|
name: |
eqString |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
[Char] -> [Char] -> Bool |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
yes |
|
totally-defined: |
reducible on all ground data terms |