tpdb-0.9.8: Data Type for Rewriting Systems

Safe HaskellNone

TPDB.Plain.Read

Description

Synopsis

Documentation

lexer :: GenTokenParser String u IdentitySource

warning: by definition, {}[] may appear in identifiers

data Declaration u Source

Constructors

Var_Declaration [Identifier] 
Theory_Declaration 
Strategy_Declaration 
Rules_Declaration [Rule u] 
Unknown_Declaration

this is super-ugly: a parenthesized, possibly nested, possibly comma-separated, list of identifiers or strings

repair_signature_srs :: Eq s => RS t [s] -> RS s [s]Source

make_srs :: Eq s => [Declaration [s]] -> SRS sSource

repair_signature_trs :: Ord s => RS t (Term v s) -> RS s (Term v s)Source

repair_variables :: (Eq s, Monad m) => [s] -> m (Rule (Term t s)) -> m (Rule (Term s s))Source