|
definition: |
readStrElem :: [XmlExp] -> String -> String
readStrElem xmlexps attr =
(textOfXmlExp . (fromMaybe (error "Error in readStrElem")) . (find ((== attr) . tagOf))) xmlexps
|
|
demand: |
no demanded arguments |
|
deterministic: |
deterministic operation |
|
documentation: |
Because read does not work on Strings (as Strings are only Lists of Charaters) |
|
failfree: |
(_, _) |
|
indeterministic: |
referentially transparent operation |
|
infix: |
no fixity defined |
|
iotype: |
{(_,_) |-> _}
|
|
name: |
readStrElem |
|
precedence: |
no precedence defined |
|
result-values: |
_ |
|
signature: |
[XML.XmlExp] -> String -> String |
|
solution-complete: |
operation might suspend on free variables |
|
terminating: |
possibly non-terminating |
|
totally-defined: |
possibly non-reducible on same data term |