type-of-html-1.1.0.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 b c) => Show [(:@:) a b c] Source # 

Methods

showsPrec :: Int -> [(a :@: b) c] -> ShowS #

show :: [(a :@: b) c] -> String #

showList :: [[(a :@: b) c]] -> ShowS #

Document ((#) a b) => Show [(#) a b] Source # 

Methods

showsPrec :: Int -> [a # b] -> ShowS #

show :: [a # b] -> String #

showList :: [[a # b]] -> ShowS #

Document ((#) a b) => Show ((#) a b) Source # 

Methods

showsPrec :: Int -> (a # b) -> ShowS #

show :: (a # b) -> String #

showList :: [a # b] -> ShowS #

Document ((:@:) a b c) => Show ((:@:) a b c) Source #

Orphan show instances to faciliate ghci development.

Methods

showsPrec :: Int -> (a :@: b) c -> ShowS #

show :: (a :@: b) c -> String #

showList :: [(a :@: b) c] -> ShowS #