haxr-th-3000.5: Automatic deriving of XML-RPC structs for Haskell records.

Portabilitynon-portable (requires extensions and non-portable libraries)
Stabilityexperimental
Maintainerbjorn@bringert.net

Network.XmlRpc.THDeriveXmlRpcType

Description

Uses Template Haskell to automagically derive instances of XmlRpcType

Synopsis

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)