tpdb-2.3.0: Data Type for Rewriting Systems
Safe HaskellSafe-Inferred
LanguageHaskell2010

TPDB.Data.Rule

Documentation

data Relation Source #

Constructors

Strict 
Weak 
Equal 

Instances

Instances details
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

Instances details
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) Source # 
Instance details

Defined in TPDB.Plain.Write

Methods

pretty :: Rule a -> Doc ann #

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

Variables r => Variables (Rule r) Source # 
Instance details

Defined in TPDB.Data

Associated Types

type Var (Rule r) Source #

Methods

variables :: Rule r -> Set (Var (Rule r)) Source #

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 #

type Var (Rule r) Source # 
Instance details

Defined in TPDB.Data

type Var (Rule r) = Var r