clafer-0.3.9: clafer compiles Clafer models to other formats, such as Alloy, XML, HTML, Dot.

Safe HaskellNone
LanguageHaskell2010

Language.Clafer.Generator.Xml

Description

Generates a XML representation of IR conforming to the ClaferIR.xsd.

Synopsis

Documentation

optTag :: Maybe a -> (a -> String) -> String Source

genXmlModule :: IModule -> Result Source

Generate an XML representation of the IR

genXmlAnyOp :: (a -> String) -> (a -> String) -> [(String, a)] -> String Source