| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Prednote.Format
Description
Functions used to format text. Typically you won't need these
unless you want tailored control over how your Pred
are formatted.
- lblTrue :: [Chunk]
- lblFalse :: [Chunk]
- indentAmt :: Int
- lblLine :: Bool -> Text -> [Chunk]
- indent :: [Chunk] -> Int -> [Chunk]
- shortCir :: Int -> [Chunk]
- indentTxt :: Text -> Int -> [Chunk]
- (<+>) :: Text -> Text -> Text
- rename :: Text -> Pred a -> Pred a
- changeOutput :: (a -> Output -> Output) -> Pred a -> Pred a
- speak :: (a -> Text) -> Pred a -> Pred a
- speakShort :: Pred a -> Pred a
Documentation
Arguments
| :: (a -> Text) | New dynamic label. Do not indicate whether the result is
|
| -> Pred a | |
| -> Pred a |
Creates a new Pred with a different dynamic label.
speakShort :: Pred a -> Pred a Source
Creates a new Pred with any short circuits having a colorful
label.