CurryInfo: icurry-3.2.0 / TermGraph.SVG.getAttribute

definition: Info
 
getAttribute :: Read a => String -> XmlExp -> a
getAttribute attr (XElem _ attrs _) = (read . (fromMaybe (error "Error in getAttribute")) . (lookup attr)) attrs
getAttribute _    (XText _)         = error "XText does not contain attributes"
demand: Info
 argument 3
deterministic: Info
 deterministic operation
documentation: Info
 
get the Value of a spcific Attribute from an Xml Expression
failfree: Info
 <FAILING>
indeterministic: Info
 referentially transparent operation
infix: Info
 no fixity defined
iotype: Info
 {(_,_,{XElem}) |-> _}
name: Info
 getAttribute
precedence: Info
 no precedence defined
result-values: Info
 _
signature: Info
 Prelude.Read a => String -> XML.XmlExp -> a
solution-complete: Info
 operation might suspend on free variables
terminating: Info
 possibly non-terminating
totally-defined: Info
 possibly non-reducible on same data term