logic-TPTP-0.6.0.0: Import, export etc. for TPTP, a syntax for first-order logic
Safe HaskellSafe-Inferred
LanguageHaskell2010

Codec.TPTP.Pretty

Description

Mainly just Pretty instances

Synopsis

Documentation

class PrettyAnsi a where Source #

Minimal complete definition

prettyAnsi

Instances

Instances details
PrettyAnsi Annotations Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi BinOp Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi Formula Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi GData Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi GTerm Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi InfixPred Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi Quant Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi TPTP_Input Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi Term Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi UsefulInfo Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi V Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi F0Diff Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi T0Diff Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi a => PrettyAnsi (Identity a) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (F DiffResult) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (T DiffResult) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (Term0 Term) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (WithEnclosing (F DiffResult)) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (WithEnclosing Formula) Source # 
Instance details

Defined in Codec.TPTP.Pretty

(PrettyAnsi (WithEnclosing t), PrettyAnsi (WithEnclosing f)) => PrettyAnsi (WithEnclosing (Formula0 t f)) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (WithEnclosing (T DiffResult)) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (WithEnclosing Term) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (WithEnclosing t) => PrettyAnsi (WithEnclosing (Term0 t)) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (WithEnclosing F0Diff) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (WithEnclosing T0Diff) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (Doc AnsiStyle) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi a => PrettyAnsi [a] Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (Formula0 Term Formula) Source # 
Instance details

Defined in Codec.TPTP.Pretty

data WithEnclosing a Source #

Carries information about the enclosing operation (for the purpose of printing stuff without parentheses if possible).

Constructors

WithEnclosing Enclosing a 

Instances

Instances details
PrettyAnsi (WithEnclosing (F DiffResult)) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (WithEnclosing Formula) Source # 
Instance details

Defined in Codec.TPTP.Pretty

(PrettyAnsi (WithEnclosing t), PrettyAnsi (WithEnclosing f)) => PrettyAnsi (WithEnclosing (Formula0 t f)) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (WithEnclosing (T DiffResult)) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (WithEnclosing Term) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (WithEnclosing t) => PrettyAnsi (WithEnclosing (Term0 t)) Source # 
Instance details

Defined in Codec.TPTP.Pretty

PrettyAnsi (WithEnclosing F0Diff) Source # 
Instance details

Defined in Codec.TPTP.Diff

PrettyAnsi (WithEnclosing T0Diff) Source # 
Instance details

Defined in Codec.TPTP.Diff

data Enclosing Source #

Instances

Instances details
Data Enclosing Source # 
Instance details

Defined in Codec.TPTP.Pretty

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Enclosing -> c Enclosing #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Enclosing #

toConstr :: Enclosing -> Constr #

dataTypeOf :: Enclosing -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c Enclosing) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Enclosing) #

gmapT :: (forall b. Data b => b -> b) -> Enclosing -> Enclosing #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Enclosing -> r #

gmapQr :: forall r r'. (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Enclosing -> r #

gmapQ :: (forall d. Data d => d -> u) -> Enclosing -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Enclosing -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Enclosing -> m Enclosing #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Enclosing -> m Enclosing #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Enclosing -> m Enclosing #

Read Enclosing Source # 
Instance details

Defined in Codec.TPTP.Pretty

Show Enclosing Source # 
Instance details

Defined in Codec.TPTP.Pretty

Eq Enclosing Source # 
Instance details

Defined in Codec.TPTP.Pretty

Ord Enclosing Source # 
Instance details

Defined in Codec.TPTP.Pretty

Orphan instances

Pretty AtomicWord Source # 
Instance details

Methods

pretty :: AtomicWord -> Doc ann #

prettyList :: [AtomicWord] -> Doc ann #