Safe Haskell | None |
---|
- data Leaf
- class LeafTag t where
- newtype Url = Url {}
- class LeafTags t where
- charTag :: Char -> t Leaf
- stringTag :: String -> t Leaf
- strictByteStringTag :: ByteString -> t Leaf
- lazyByteStringTag :: ByteString -> t Leaf
- char :: LeafTags t => Char -> TDoc t Leaf
- string :: LeafTags t => String -> TDoc t Leaf
- strictByteString :: LeafTags t => ByteString -> TDoc t Leaf
- lazyByteString :: LeafTags t => ByteString -> TDoc t Leaf
- data Paragraph
- class ParagraphTag t where
- paragraphTag :: t Paragraph
- paragraph :: ParagraphTag t => Star t Paragraph
- para :: ParagraphTag t => Star t Paragraph
- data Title
- class TitleTag t where
- title :: TitleTag t => Star t Title
- data Br
- class BrTag t where
- br :: BrTag t => Nullary t Br
- data Hr
- class HrTag t where
- hr :: HrTag t => Nullary t Hr
- data Col
- class ColTag t where
- col :: ColTag t => Star t Col
- data HCol
- class HColTag t where
- hcol :: HColTag t => Star t HCol
- data Row
- class RowTag t where
- row :: RowTag t => Star t Row
- data Table
- class TableTag t where
- table :: TableTag t => Star t Table
- data Item
- class ItemTag t where
- item :: ItemTag t => Star t Item
- data UList
- class UListTag t where
- ulist :: UListTag t => Star t UList
- ulistQ :: (UListTag t, ItemTag t, a `IsChildOf` Item) => [TDoc t a] -> TDoc t UList
- data Span
- class ClassAttrTag t => SpanTag t where
- spanDoc :: SpanTag t => Star t Span
- spanDocCA :: SpanTag t => String -> Star t Span
- strong :: SpanTag t => Star t Span
- small :: SpanTag t => Star t Span
- big :: SpanTag t => Star t Span
- italics :: SpanTag t => Star t Span
- sub :: SpanTag t => Star t Span
- sup :: SpanTag t => Star t Span
- tt :: SpanTag t => Star t Span
- bold :: SpanTag t => Star t Span
- data Div a
- class DivTag t where
- div :: DivTag t => Star t (Div a)
- data Subsection
- class SubsectionTag t where
- subsectionTag :: a `IsChildOf` Span => TDoc t a -> t Subsection
- subsection :: forall a b t. (SubsectionTag t, a `IsChildOf` Span, ToTDoc b t a) => b -> Star t Subsection
- data Section
- class SectionTag t where
- sectionTag :: a `IsChildOf` Span => TDoc t a -> t Section
- section :: forall a b t. (SectionTag t, a `IsChildOf` Span, ToTDoc b t a) => b -> Star t Section
- data HLink
- class HLinkTag t where
- hlink :: HLinkTag t => String -> Star t HLink
- data Anchor
- class AnchorTag t where
- anchor :: AnchorTag t => Unary t Anchor
- data Image
- class ImageTag t where
- image :: ImageTag t => Nullary t Image
- data Preambule
- class PreambuleTag t where
- preambuleTag :: t Preambule
- preambule :: PreambuleTag t => Star t Preambule
- data Document
- class DocumentTag t where
- documentTag :: t Document
- document :: DocumentTag t => Star t Document
- data Root
- class RootTag t where
- root :: forall t doc preambule. (RootTag t, ToTDoc preambule t Preambule, ToTDoc doc t Document) => preambule -> doc -> TDoc t Root
- class (AttributeTags t, LeafTags t, ParagraphTag t, TitleTag t, BrTag t, HrTag t, ColTag t, HColTag t, RowTag t, TableTag t, ItemTag t, UListTag t, SpanTag t, DivTag t, SubsectionTag t, SectionTag t, HLinkTag t, AnchorTag t, ImageTag t, PreambuleTag t, DocumentTag t, RootTag t) => Tags t
Documentation
charTag :: Char -> t LeafSource
stringTag :: String -> t LeafSource
strictByteStringTag :: ByteString -> t LeafSource
lazyByteStringTag :: ByteString -> t LeafSource
strictByteString :: LeafTags t => ByteString -> TDoc t LeafSource
lazyByteString :: LeafTags t => ByteString -> TDoc t LeafSource
paragraph :: ParagraphTag t => Star t ParagraphSource
para :: ParagraphTag t => Star t ParagraphSource
data Subsection Source
class SubsectionTag t whereSource
subsectionTag :: a `IsChildOf` Span => TDoc t a -> t SubsectionSource
subsection :: forall a b t. (SubsectionTag t, a `IsChildOf` Span, ToTDoc b t a) => b -> Star t SubsectionSource
class SectionTag t whereSource
section :: forall a b t. (SectionTag t, a `IsChildOf` Span, ToTDoc b t a) => b -> Star t SectionSource
preambule :: PreambuleTag t => Star t PreambuleSource
document :: DocumentTag t => Star t DocumentSource
root :: forall t doc preambule. (RootTag t, ToTDoc preambule t Preambule, ToTDoc doc t Document) => preambule -> doc -> TDoc t RootSource
class (AttributeTags t, LeafTags t, ParagraphTag t, TitleTag t, BrTag t, HrTag t, ColTag t, HColTag t, RowTag t, TableTag t, ItemTag t, UListTag t, SpanTag t, DivTag t, SubsectionTag t, SectionTag t, HLinkTag t, AnchorTag t, ImageTag t, PreambuleTag t, DocumentTag t, RootTag t) => Tags t Source