Safe Haskell | Safe |
---|---|
Language | Haskell98 |
- class (IsString d, Semigroup d) => Doc_Text d where
- class Doc_Color d where
- class Doc_Decoration d where
- class Trans tr where
- class SplitOnCharWithEmpty t where
- lines :: SplitOnCharWithEmpty t => t -> [t]
- int64OfInt :: Int -> Int64
Class Doc_Text
class (IsString d, Semigroup d) => Doc_Text d where Source #
stringH :: String -> d Source #
replicate :: Int -> d -> d Source #
integer :: Integer -> d Source #
charH :: Doc_Text (ReprOf d) => Trans d => Char -> d Source #
stringH :: Doc_Text (ReprOf d) => Trans d => String -> d Source #
textH :: Doc_Text (ReprOf d) => Trans d => Text -> d Source #
ltextH :: Doc_Text (ReprOf d) => Trans d => Text -> d Source #
replicate :: Doc_Text (ReprOf d) => Trans d => Int -> d -> d Source #
integer :: Doc_Text (ReprOf d) => Trans d => Integer -> d Source #
string :: String -> d Source #
catH :: Foldable f => f d -> d Source #
Class Doc_Color
class Doc_Color d where Source #
onYellower :: d -> d Source #
onMagentaer :: d -> d Source #
reverse :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
black :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
red :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
green :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
yellow :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
blue :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
magenta :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
cyan :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
white :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
blacker :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
redder :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
greener :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
yellower :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
bluer :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
magentaer :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
cyaner :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
whiter :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onBlack :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onRed :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onGreen :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onYellow :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onBlue :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onMagenta :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onCyan :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onWhite :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onBlacker :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onRedder :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onGreener :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onYellower :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onBluer :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onMagentaer :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onCyaner :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
onWhiter :: Doc_Color (ReprOf d) => Trans d => d -> d Source #
Class Doc_Decoration
class Doc_Decoration d where Source #
Class Trans
trans :: ReprOf tr -> tr Source #
Lift a tr to the transformer's.
unTrans :: tr -> ReprOf tr Source #
Unlift a tr from the transformer's.
trans1 :: (ReprOf tr -> ReprOf tr) -> tr -> tr Source #
Identity transformation for a unary symantic method.
trans2 :: (ReprOf tr -> ReprOf tr -> ReprOf tr) -> tr -> tr -> tr Source #
Identity transformation for a binary symantic method.
trans3 :: (ReprOf tr -> ReprOf tr -> ReprOf tr -> ReprOf tr) -> tr -> tr -> tr -> tr Source #
Identity transformation for a ternary symantic method.
Class SplitOnCharWithEmpty
class SplitOnCharWithEmpty t where Source #
splitOnCharWithEmpty :: Char -> t -> [t] Source #
lines :: SplitOnCharWithEmpty t => t -> [t] Source #
int64OfInt :: Int -> Int64 Source #