logic-TPTP-0.4.3.0: Import, export etc. for TPTP, a syntax for first-order logic

Safe HaskellNone
LanguageHaskell98

Codec.TPTP.Diff

Synopsis

Documentation

class Diffable a b | a -> b where Source

Methods

diff :: a -> a -> b Source

data DiffResult d Source

Constructors

Same

Both arguments are the same.

SameHead d

The arguments are recursive expressions of the same form, but their subterms differ. Return a "decorated" term that shows where the differences are

Differ d d

The arguments differ and are not of similar form (don't recurse)

DontCare 

isSame :: forall t. DiffResult t -> Bool Source

diffGenF :: Gen Formula Source

Less random generator for generating formulae suitable for testing diff