type-of-html-1.3.2.0: High performance type driven html generation.

Safe HaskellNone
LanguageHaskell2010

Html

Contents

Synopsis

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 Document a = Document' a Source #

Constraint synonym of html documents.

module Html.Type

Orphan instances

Document a => Show a Source #

Orphan show instance to faciliate ghci development.

Methods

showsPrec :: Int -> a -> ShowS #

show :: a -> String #

showList :: [a] -> ShowS #