tct-2.0.1: A Complexity Analyser for Term Rewrite Systems

Portabilityunportable
Stabilityunstable
MaintainerMartin Avanzini <martin.avanzini@uibk.ac.at>
Safe HaskellSafe-Infered

Tct.Utils.Xml

Contents

Description

This module provides utilities for Xml output.

Synopsis

Documentation

type XmlContent = Content ()

Constructors

elt :: String -> [Attribute] -> [XmlContent] -> XmlContent

Translations to XML for general data types

int :: Integral i => i -> XmlContent

Translations to XML for termlib data types

Output XML proof

proofDocument :: ComplexityProof proof => Problem -> [(Rule, Bool)] -> proof -> Answer -> Document ()

putXmlProof :: ComplexityProof proof => Problem -> [(Rule, Bool)] -> proof -> Answer -> IO ()