Safe Haskell | None |
---|---|
Language | Haskell2010 |
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 :: Retrievable a => CompactHTML a -> Retrieve String a
- renderCompactText :: Retrievable a => CompactHTML a -> Retrieve Text a
- renderCompactByteString :: Retrievable a => CompactHTML a -> Retrieve ByteString a
- renderCompactBuilder :: Retrievable a => CompactHTML a -> Retrieve Builder a
- data Put (n :: Symbol) = forall a.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 :: Retrievable a => CompactHTML a -> Retrieve String a Source #
Render a compacted html document to a String.
renderCompactText :: Retrievable a => CompactHTML a -> Retrieve Text a Source #
Render a compacted html document to a lazy Text.
renderCompactByteString :: Retrievable a => CompactHTML a -> Retrieve ByteString a Source #
Render a compacted html document to a lazy ByteString.
renderCompactBuilder :: 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.
Orphan instances
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 (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 # | |