开发者

XML alternative of Text.JSON.Generic for Haskell

开发者 https://www.devze.com 2022-12-12 16:44 出处:网络
Is there any XML-(de)serializer for Haskell using Data/Typeable with 开发者_运维问答functions similar to

Is there any XML-(de)serializer for Haskell using Data/Typeable with 开发者_运维问答functions similar to

toXml :: Data d => d -> XmlValue
fromXml :: Data d => String -> Result d

in the spirit of Text.JSON.Generic?


Please check this TypLAB article—it uses generic programming (multirec rather than SYB) to convert from and to XML.

0

精彩评论

暂无评论...
验证码 换一张
取 消