tpdb-2.1.1: Data Type for Rewriting Systems

Safe HaskellSafe
LanguageHaskell98

TPDB.Data.Rule

Documentation

data Relation Source #

Constructors

Strict 
Weak 
Equal 
Instances
Eq Relation Source # 
Instance details

Defined in TPDB.Data.Rule

Ord Relation Source # 
Instance details

Defined in TPDB.Data.Rule

Show Relation Source # 
Instance details

Defined in TPDB.Data.Rule

data Rule a Source #

Constructors

Rule 

Fields

Instances
Functor Rule Source # 
Instance details

Defined in TPDB.Data.Rule

Methods

fmap :: (a -> b) -> Rule a -> Rule b #

(<$) :: a -> Rule b -> Rule a #

Eq a => Eq (Rule a) Source # 
Instance details

Defined in TPDB.Data.Rule

Methods

(==) :: Rule a -> Rule a -> Bool #

(/=) :: Rule a -> Rule a -> Bool #

Ord a => Ord (Rule a) Source # 
Instance details

Defined in TPDB.Data.Rule

Methods

compare :: Rule a -> Rule a -> Ordering #

(<) :: Rule a -> Rule a -> Bool #

(<=) :: Rule a -> Rule a -> Bool #

(>) :: Rule a -> Rule a -> Bool #

(>=) :: Rule a -> Rule a -> Bool #

max :: Rule a -> Rule a -> Rule a #

min :: Rule a -> Rule a -> Rule a #

PrettyTerm a => Pretty (Rule a) # 
Instance details

Defined in TPDB.Plain.Write

Methods

pretty :: Rule a -> Doc ann #

prettyList :: [Rule a] -> Doc ann #

Reader u => Reader (Rule u) Source # 
Instance details

Defined in TPDB.Plain.Read

Methods

reader :: Parser (Rule u) Source #

(Typeable t, XmlContent t) => XmlContent (Rule t) Source # 
Instance details

Defined in TPDB.CPF.Proof.Write

XmlContent (Term v c) => XmlContent (Rule (Term v c)) Source # 
Instance details

Defined in TPDB.Data.Xml

Methods

toContents :: Rule (Term v c) -> [Node] Source #

parseContents :: Cursor -> [Rule (Term v c)] Source #