Safe Haskell | None |
---|---|
Language | Haskell2010 |
Html
Contents
Synopsis
- module Html.Type
- module Html.Convert
- renderString :: Document a => a -> String
- renderText :: Document a => a -> Text
- renderByteString :: Document a => a -> ByteString
- renderBuilder :: Document a => a -> Builder
- compactHTML :: Compactable a => a -> CompactHTML (Variables a)
- renderCompactString :: forall (a :: [Symbol]). Retrievable a => CompactHTML a -> Retrieve String a
- renderCompactText :: forall (a :: [Symbol]). Retrievable a => CompactHTML a -> Retrieve Text a
- renderCompactByteString :: forall (a :: [Symbol]). Retrievable a => CompactHTML a -> Retrieve ByteString a
- renderCompactBuilder :: forall (a :: [Symbol]). Retrievable a => CompactHTML a -> Retrieve Builder a
- data Put (n :: Symbol) = Convert a => Put a
- data V (n :: Symbol) = V
Documentation
module Html.Type
module Html.Convert
renderString :: Document a => a -> String Source #
Render a html document to a String.
renderText :: Document a => a -> Text Source #
Render a html document to a lazy Text.
renderByteString :: Document a => a -> ByteString Source #
Render a html document to a lazy ByteString.
renderBuilder :: Document a => a -> Builder Source #
Render a html document to a Builder.
compactHTML :: Compactable a => a -> CompactHTML (Variables a) Source #
Compact a html document.
renderCompactString :: forall (a :: [Symbol]). Retrievable a => CompactHTML a -> Retrieve String a Source #
Render a compacted html document to a String.
renderCompactText :: forall (a :: [Symbol]). Retrievable a => CompactHTML a -> Retrieve Text a Source #
Render a compacted html document to a lazy Text.
renderCompactByteString :: forall (a :: [Symbol]). Retrievable a => CompactHTML a -> Retrieve ByteString a Source #
Render a compacted html document to a lazy ByteString.
renderCompactBuilder :: forall (a :: [Symbol]). Retrievable a => CompactHTML a -> Retrieve Builder a Source #
Render a compacted html document to a Builder.
Data for declaring variables in a html document which will be compacted.
Constructors
V |
Orphan instances
Document (a # b) => Show (a # b) Source # | |
Document (a := b) => Show (a := b) Source # | Show instances to faciliate ghci development. |
Document (a :> b) => Show (a :> b) Source # | |
Document (a :@ b) => Show (a :@ b) Source # | |
Document (Attribute a global boolean) => Show (Attribute a global boolean) Source # | |
Document (Element name categories contentModel contentAttributes) => Show (Element name categories contentModel contentAttributes) Source # | |