Portability | non-portable (requires extensions and non-portable libraries) |
---|---|
Stability | experimental |
Maintainer | bjorn@bringert.net |
Uses Template Haskell to automagically derive instances of XmlRpcType
- asXmlRpcStruct :: Name -> Q [Dec]
Documentation
asXmlRpcStruct :: Name -> Q [Dec]Source
Creates an XmlRpcType
instance which handles a Haskell record
as an XmlRpc struct. Example:
data Person = Person { name :: String, age :: Int }
$(asXmlRpcStruct ''Person)