Summons an XmlSource instance if one can be found.
Summons an XmlSource instance if one can be found.
Turns the specified function into a new XmlSource instance.
Turns an InputSource into a source of XML data.
Turns a Node into a source of XML data.
Defines convenience methods for creating and summoning XmlSource instances.
Default implementation of standard types are declared here, always bringing them in scope without requirnig an explicit import.
The default implementations can also be useful when writing new instances: if you need to write an
XmlSource[T]
and already have anXmlSource[S]
and aT ⇒ S
, you just need to call XmlSource.contramap to get your implementation.