Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Codec.TPTP.Pretty
Contents
Description
Mainly just Pretty
instances
Synopsis
- prettySimple :: Pretty a => a -> String
- data WithEnclosing a = WithEnclosing Enclosing a
- data Enclosing
Documentation
prettySimple :: Pretty a => a -> String Source #
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
Pretty (WithEnclosing (F DiffResult)) Source # | |
Defined in Codec.TPTP.Diff Methods pretty :: WithEnclosing (F DiffResult) -> Doc # prettyList :: [WithEnclosing (F DiffResult)] -> Doc # | |
Pretty (WithEnclosing Formula) Source # | |
Defined in Codec.TPTP.Pretty | |
(Pretty (WithEnclosing t), Pretty (WithEnclosing f)) => Pretty (WithEnclosing (Formula0 t f)) Source # | |
Defined in Codec.TPTP.Pretty Methods pretty :: WithEnclosing (Formula0 t f) -> Doc # prettyList :: [WithEnclosing (Formula0 t f)] -> Doc # | |
Pretty (WithEnclosing (T DiffResult)) Source # | |
Defined in Codec.TPTP.Diff Methods pretty :: WithEnclosing (T DiffResult) -> Doc # prettyList :: [WithEnclosing (T DiffResult)] -> Doc # | |
Pretty (WithEnclosing Term) Source # | |
Defined in Codec.TPTP.Pretty | |
Pretty (WithEnclosing t) => Pretty (WithEnclosing (Term0 t)) Source # | |
Defined in Codec.TPTP.Pretty | |
Pretty (WithEnclosing F0Diff) Source # | |
Defined in Codec.TPTP.Diff | |
Pretty (WithEnclosing T0Diff) Source # | |
Defined in Codec.TPTP.Diff |
Constructors
EnclBinOp BinOp | |
EnclQuant | |
EnclNeg | |
EnclInfixPred InfixPred | |
EnclNothing |
Instances
Data Enclosing Source # | |
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 # | |
Show Enclosing Source # | |
Eq Enclosing Source # | |
Ord Enclosing Source # | |