httpspec-0.1: Specification of HTTP request/response generators and parsers

Data.HttpSpec.XmlHelper

Documentation

unpickle :: Monad m => PU a -> ByteString -> m aSource

unpickleStr :: Monad m => PU a -> [Char] -> m aSource

unpickleDocM :: Monad m => PU a -> XmlTree -> m aSource

fromPair :: (a -> b -> c) -> (a, b) -> cSource

fromTriple :: (a -> b -> c -> d) -> (a, b, c) -> dSource

fromQuadruple :: (a -> b -> c -> d -> e) -> (a, b, c, d) -> eSource

fromQuintuple :: (a -> b -> c -> d -> e -> f) -> (a, b, c, d, e) -> fSource

data PUCase a Source

xpOne :: PU a -> PU aSource

xpMany :: String -> PU a -> PU [a]Source

xpTagSwitch :: Eq t => (a -> t) -> [PUCase a] -> PU aSource

xpCase :: (a -> b, b -> a) -> PU a -> PUCase bSource

xpSwitch :: Show a => [PUCase a] -> PU aSource