Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Codec.TPTP.Pretty
Contents
Description
Mainly just Pretty
instances
Synopsis
- class PrettyAnsi a where
- prettyAnsi :: a -> Doc AnsiStyle
- prettyAnsiList :: [a] -> Doc AnsiStyle
- prettySimple :: PrettyAnsi a => a -> String
- data WithEnclosing a = WithEnclosing Enclosing a
- data Enclosing
Documentation
class PrettyAnsi a where Source #
Minimal complete definition
Instances
prettySimple :: PrettyAnsi 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
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 # | |