tpdb-0.8.4: Data Type for Rewriting Systems

Safe HaskellSafe-Inferred
LanguageHaskell98

TPDB.Plain.Read

Description

Synopsis

Documentation

lexer :: GenTokenParser String u Identity Source

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 s Source

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

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