Safe Haskell | None |
---|---|
Language | Haskell2010 |
Synopsis
- renderString :: Document a => a -> String
- renderText :: Document a => a -> Text
- renderByteString :: Document a => a -> ByteString
- renderBuilder :: Document a => a -> Builder
- type family Document a where ...
- module Html.Type
- module Html.Convert
- module Html.Element
Documentation
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.
type family Document a where ... Source #
Constraint for html documents. It's a type family to avoid an error about FlexibleContexts and a warning about MonoLocalBinds.
Document a = Document' a |
module Html.Type
module Html.Convert
module Html.Element