-- WARNING: This code was automatically generated. You should *never* -- edit it directly. Instead, edit the files who generated this code, -- you can find them in the @util/@ directory. {-# LANGUAGE OverloadedStrings #-} -- ./Util/GenerateHtmlCombinators.hs:78 -- | This module exports HTML combinators used to create documents. -- module Text.Blaze.Html4.Strict -- ./Util/GenerateHtmlCombinators.hs:151 ( module Text.Blaze -- ./Util/GenerateHtmlCombinators.hs:152 , docType -- ./Util/GenerateHtmlCombinators.hs:154 , docTypeHtml -- ./Util/GenerateHtmlCombinators.hs:154 , a -- ./Util/GenerateHtmlCombinators.hs:154 , abbr -- ./Util/GenerateHtmlCombinators.hs:154 , acronym -- ./Util/GenerateHtmlCombinators.hs:154 , address -- ./Util/GenerateHtmlCombinators.hs:154 , area -- ./Util/GenerateHtmlCombinators.hs:154 , b -- ./Util/GenerateHtmlCombinators.hs:154 , bdo -- ./Util/GenerateHtmlCombinators.hs:154 , big -- ./Util/GenerateHtmlCombinators.hs:154 , blockquote -- ./Util/GenerateHtmlCombinators.hs:154 , body -- ./Util/GenerateHtmlCombinators.hs:154 , br -- ./Util/GenerateHtmlCombinators.hs:154 , button -- ./Util/GenerateHtmlCombinators.hs:154 , caption -- ./Util/GenerateHtmlCombinators.hs:154 , cite -- ./Util/GenerateHtmlCombinators.hs:154 , code -- ./Util/GenerateHtmlCombinators.hs:154 , col -- ./Util/GenerateHtmlCombinators.hs:154 , colgroup -- ./Util/GenerateHtmlCombinators.hs:154 , dd -- ./Util/GenerateHtmlCombinators.hs:154 , del -- ./Util/GenerateHtmlCombinators.hs:154 , dfn -- ./Util/GenerateHtmlCombinators.hs:154 , div -- ./Util/GenerateHtmlCombinators.hs:154 , dl -- ./Util/GenerateHtmlCombinators.hs:154 , dt -- ./Util/GenerateHtmlCombinators.hs:154 , em -- ./Util/GenerateHtmlCombinators.hs:154 , fieldset -- ./Util/GenerateHtmlCombinators.hs:154 , form -- ./Util/GenerateHtmlCombinators.hs:154 , h1 -- ./Util/GenerateHtmlCombinators.hs:154 , h2 -- ./Util/GenerateHtmlCombinators.hs:154 , h3 -- ./Util/GenerateHtmlCombinators.hs:154 , h4 -- ./Util/GenerateHtmlCombinators.hs:154 , h5 -- ./Util/GenerateHtmlCombinators.hs:154 , h6 -- ./Util/GenerateHtmlCombinators.hs:154 , head -- ./Util/GenerateHtmlCombinators.hs:154 , hr -- ./Util/GenerateHtmlCombinators.hs:154 , html -- ./Util/GenerateHtmlCombinators.hs:154 , i -- ./Util/GenerateHtmlCombinators.hs:154 , img -- ./Util/GenerateHtmlCombinators.hs:154 , input -- ./Util/GenerateHtmlCombinators.hs:154 , ins -- ./Util/GenerateHtmlCombinators.hs:154 , kbd -- ./Util/GenerateHtmlCombinators.hs:154 , label -- ./Util/GenerateHtmlCombinators.hs:154 , legend -- ./Util/GenerateHtmlCombinators.hs:154 , li -- ./Util/GenerateHtmlCombinators.hs:154 , link -- ./Util/GenerateHtmlCombinators.hs:154 , map -- ./Util/GenerateHtmlCombinators.hs:154 , meta -- ./Util/GenerateHtmlCombinators.hs:154 , noscript -- ./Util/GenerateHtmlCombinators.hs:154 , object -- ./Util/GenerateHtmlCombinators.hs:154 , ol -- ./Util/GenerateHtmlCombinators.hs:154 , optgroup -- ./Util/GenerateHtmlCombinators.hs:154 , option -- ./Util/GenerateHtmlCombinators.hs:154 , p -- ./Util/GenerateHtmlCombinators.hs:154 , param -- ./Util/GenerateHtmlCombinators.hs:154 , pre -- ./Util/GenerateHtmlCombinators.hs:154 , q -- ./Util/GenerateHtmlCombinators.hs:154 , samp -- ./Util/GenerateHtmlCombinators.hs:154 , script -- ./Util/GenerateHtmlCombinators.hs:154 , select -- ./Util/GenerateHtmlCombinators.hs:154 , small -- ./Util/GenerateHtmlCombinators.hs:154 , span -- ./Util/GenerateHtmlCombinators.hs:154 , strong -- ./Util/GenerateHtmlCombinators.hs:154 , style -- ./Util/GenerateHtmlCombinators.hs:154 , sub -- ./Util/GenerateHtmlCombinators.hs:154 , sup -- ./Util/GenerateHtmlCombinators.hs:154 , table -- ./Util/GenerateHtmlCombinators.hs:154 , tbody -- ./Util/GenerateHtmlCombinators.hs:154 , td -- ./Util/GenerateHtmlCombinators.hs:154 , textarea -- ./Util/GenerateHtmlCombinators.hs:154 , tfoot -- ./Util/GenerateHtmlCombinators.hs:154 , th -- ./Util/GenerateHtmlCombinators.hs:154 , thead -- ./Util/GenerateHtmlCombinators.hs:154 , title -- ./Util/GenerateHtmlCombinators.hs:154 , tr -- ./Util/GenerateHtmlCombinators.hs:154 , tt -- ./Util/GenerateHtmlCombinators.hs:154 , ul -- ./Util/GenerateHtmlCombinators.hs:154 , var -- ./Util/GenerateHtmlCombinators.hs:154 ) where -- ./Util/GenerateHtmlCombinators.hs:155 import Prelude ((>>), (.)) -- ./Util/GenerateHtmlCombinators.hs:85 -- ./Util/GenerateHtmlCombinators.hs:86 import Text.Blaze -- ./Util/GenerateHtmlCombinators.hs:87 import Text.Blaze.Internal -- ./Util/GenerateHtmlCombinators.hs:88 -- ./Util/GenerateHtmlCombinators.hs:89 -- | Combinator for the document type. This should be placed at the top -- of every HTML page. -- -- Example: -- -- > docType -- -- Result: -- -- > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" -- > "http://www.w3.org/TR/html4/strict.dtd"> -- docType :: Html -- ^ The document type HTML. -- ./Util/GenerateHtmlCombinators.hs:171 docType = preEscapedText "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.01//EN\"\n \"http://www.w3.org/TR/html4/strict.dtd\">\n" -- ./Util/GenerateHtmlCombinators.hs:172 {-# INLINE docType #-} -- ./Util/GenerateHtmlCombinators.hs:173 -- | Combinator for the @\<html>@ element. This combinator will also -- insert the correct doctype. -- -- Example: -- -- > docTypeHtml $ span $ text "foo" -- -- Result: -- -- > <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" -- > "http://www.w3.org/TR/html4/strict.dtd"> -- > <html><span>foo</span></html> -- docTypeHtml :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:192 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:193 docTypeHtml inner = docType >> html inner -- ./Util/GenerateHtmlCombinators.hs:194 {-# INLINE docTypeHtml #-} -- ./Util/GenerateHtmlCombinators.hs:195 -- | Combinator for the @\<a>@ element. -- -- Example: -- -- > a $ span $ text "foo" -- -- Result: -- -- > <a><span>foo</span></a> -- a :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 a = Parent "<a" "</a>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE a #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<abbr>@ element. -- -- Example: -- -- > abbr $ span $ text "foo" -- -- Result: -- -- > <abbr><span>foo</span></abbr> -- abbr :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 abbr = Parent "<abbr" "</abbr>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE abbr #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<acronym>@ element. -- -- Example: -- -- > acronym $ span $ text "foo" -- -- Result: -- -- > <acronym><span>foo</span></acronym> -- acronym :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 acronym = Parent "<acronym" "</acronym>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE acronym #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<address>@ element. -- -- Example: -- -- > address $ span $ text "foo" -- -- Result: -- -- > <address><span>foo</span></address> -- address :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 address = Parent "<address" "</address>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE address #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<area />@ element. -- -- Example: -- -- > area -- -- Result: -- -- > <area /> -- area :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 area = Leaf "<area" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE area #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<b>@ element. -- -- Example: -- -- > b $ span $ text "foo" -- -- Result: -- -- > <b><span>foo</span></b> -- b :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 b = Parent "<b" "</b>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE b #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<bdo>@ element. -- -- Example: -- -- > bdo $ span $ text "foo" -- -- Result: -- -- > <bdo><span>foo</span></bdo> -- bdo :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 bdo = Parent "<bdo" "</bdo>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE bdo #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<big>@ element. -- -- Example: -- -- > big $ span $ text "foo" -- -- Result: -- -- > <big><span>foo</span></big> -- big :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 big = Parent "<big" "</big>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE big #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<blockquote>@ element. -- -- Example: -- -- > blockquote $ span $ text "foo" -- -- Result: -- -- > <blockquote><span>foo</span></blockquote> -- blockquote :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 blockquote = Parent "<blockquote" "</blockquote>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE blockquote #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<body>@ element. -- -- Example: -- -- > body $ span $ text "foo" -- -- Result: -- -- > <body><span>foo</span></body> -- body :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 body = Parent "<body" "</body>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE body #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<br />@ element. -- -- Example: -- -- > br -- -- Result: -- -- > <br /> -- br :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 br = Leaf "<br" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE br #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<button>@ element. -- -- Example: -- -- > button $ span $ text "foo" -- -- Result: -- -- > <button><span>foo</span></button> -- button :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 button = Parent "<button" "</button>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE button #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<caption>@ element. -- -- Example: -- -- > caption $ span $ text "foo" -- -- Result: -- -- > <caption><span>foo</span></caption> -- caption :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 caption = Parent "<caption" "</caption>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE caption #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<cite>@ element. -- -- Example: -- -- > cite $ span $ text "foo" -- -- Result: -- -- > <cite><span>foo</span></cite> -- cite :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 cite = Parent "<cite" "</cite>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE cite #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<code>@ element. -- -- Example: -- -- > code $ span $ text "foo" -- -- Result: -- -- > <code><span>foo</span></code> -- code :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 code = Parent "<code" "</code>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE code #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<col />@ element. -- -- Example: -- -- > col -- -- Result: -- -- > <col /> -- col :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 col = Leaf "<col" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE col #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<colgroup>@ element. -- -- Example: -- -- > colgroup $ span $ text "foo" -- -- Result: -- -- > <colgroup><span>foo</span></colgroup> -- colgroup :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 colgroup = Parent "<colgroup" "</colgroup>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE colgroup #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<dd>@ element. -- -- Example: -- -- > dd $ span $ text "foo" -- -- Result: -- -- > <dd><span>foo</span></dd> -- dd :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 dd = Parent "<dd" "</dd>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE dd #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<del>@ element. -- -- Example: -- -- > del $ span $ text "foo" -- -- Result: -- -- > <del><span>foo</span></del> -- del :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 del = Parent "<del" "</del>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE del #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<dfn>@ element. -- -- Example: -- -- > dfn $ span $ text "foo" -- -- Result: -- -- > <dfn><span>foo</span></dfn> -- dfn :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 dfn = Parent "<dfn" "</dfn>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE dfn #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<div>@ element. -- -- Example: -- -- > div $ span $ text "foo" -- -- Result: -- -- > <div><span>foo</span></div> -- div :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 div = Parent "<div" "</div>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE div #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<dl>@ element. -- -- Example: -- -- > dl $ span $ text "foo" -- -- Result: -- -- > <dl><span>foo</span></dl> -- dl :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 dl = Parent "<dl" "</dl>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE dl #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<dt>@ element. -- -- Example: -- -- > dt $ span $ text "foo" -- -- Result: -- -- > <dt><span>foo</span></dt> -- dt :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 dt = Parent "<dt" "</dt>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE dt #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<em>@ element. -- -- Example: -- -- > em $ span $ text "foo" -- -- Result: -- -- > <em><span>foo</span></em> -- em :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 em = Parent "<em" "</em>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE em #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<fieldset>@ element. -- -- Example: -- -- > fieldset $ span $ text "foo" -- -- Result: -- -- > <fieldset><span>foo</span></fieldset> -- fieldset :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 fieldset = Parent "<fieldset" "</fieldset>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE fieldset #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<form>@ element. -- -- Example: -- -- > form $ span $ text "foo" -- -- Result: -- -- > <form><span>foo</span></form> -- form :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 form = Parent "<form" "</form>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE form #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<h1>@ element. -- -- Example: -- -- > h1 $ span $ text "foo" -- -- Result: -- -- > <h1><span>foo</span></h1> -- h1 :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 h1 = Parent "<h1" "</h1>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE h1 #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<h2>@ element. -- -- Example: -- -- > h2 $ span $ text "foo" -- -- Result: -- -- > <h2><span>foo</span></h2> -- h2 :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 h2 = Parent "<h2" "</h2>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE h2 #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<h3>@ element. -- -- Example: -- -- > h3 $ span $ text "foo" -- -- Result: -- -- > <h3><span>foo</span></h3> -- h3 :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 h3 = Parent "<h3" "</h3>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE h3 #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<h4>@ element. -- -- Example: -- -- > h4 $ span $ text "foo" -- -- Result: -- -- > <h4><span>foo</span></h4> -- h4 :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 h4 = Parent "<h4" "</h4>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE h4 #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<h5>@ element. -- -- Example: -- -- > h5 $ span $ text "foo" -- -- Result: -- -- > <h5><span>foo</span></h5> -- h5 :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 h5 = Parent "<h5" "</h5>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE h5 #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<h6>@ element. -- -- Example: -- -- > h6 $ span $ text "foo" -- -- Result: -- -- > <h6><span>foo</span></h6> -- h6 :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 h6 = Parent "<h6" "</h6>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE h6 #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<head>@ element. -- -- Example: -- -- > head $ span $ text "foo" -- -- Result: -- -- > <head><span>foo</span></head> -- head :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 head = Parent "<head" "</head>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE head #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<hr />@ element. -- -- Example: -- -- > hr -- -- Result: -- -- > <hr /> -- hr :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 hr = Leaf "<hr" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE hr #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<html>@ element. -- -- Example: -- -- > html $ span $ text "foo" -- -- Result: -- -- > <html><span>foo</span></html> -- html :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 html = Parent "<html" "</html>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE html #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<i>@ element. -- -- Example: -- -- > i $ span $ text "foo" -- -- Result: -- -- > <i><span>foo</span></i> -- i :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 i = Parent "<i" "</i>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE i #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<img />@ element. -- -- Example: -- -- > img -- -- Result: -- -- > <img /> -- img :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 img = Leaf "<img" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE img #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<input />@ element. -- -- Example: -- -- > input -- -- Result: -- -- > <input /> -- input :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 input = Leaf "<input" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE input #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<ins>@ element. -- -- Example: -- -- > ins $ span $ text "foo" -- -- Result: -- -- > <ins><span>foo</span></ins> -- ins :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 ins = Parent "<ins" "</ins>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE ins #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<kbd>@ element. -- -- Example: -- -- > kbd $ span $ text "foo" -- -- Result: -- -- > <kbd><span>foo</span></kbd> -- kbd :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 kbd = Parent "<kbd" "</kbd>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE kbd #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<label>@ element. -- -- Example: -- -- > label $ span $ text "foo" -- -- Result: -- -- > <label><span>foo</span></label> -- label :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 label = Parent "<label" "</label>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE label #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<legend>@ element. -- -- Example: -- -- > legend $ span $ text "foo" -- -- Result: -- -- > <legend><span>foo</span></legend> -- legend :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 legend = Parent "<legend" "</legend>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE legend #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<li>@ element. -- -- Example: -- -- > li $ span $ text "foo" -- -- Result: -- -- > <li><span>foo</span></li> -- li :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 li = Parent "<li" "</li>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE li #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<link />@ element. -- -- Example: -- -- > link -- -- Result: -- -- > <link /> -- link :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 link = Leaf "<link" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE link #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<map>@ element. -- -- Example: -- -- > map $ span $ text "foo" -- -- Result: -- -- > <map><span>foo</span></map> -- map :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 map = Parent "<map" "</map>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE map #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<meta />@ element. -- -- Example: -- -- > meta -- -- Result: -- -- > <meta /> -- meta :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 meta = Leaf "<meta" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE meta #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<noscript>@ element. -- -- Example: -- -- > noscript $ span $ text "foo" -- -- Result: -- -- > <noscript><span>foo</span></noscript> -- noscript :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 noscript = Parent "<noscript" "</noscript>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE noscript #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<object>@ element. -- -- Example: -- -- > object $ span $ text "foo" -- -- Result: -- -- > <object><span>foo</span></object> -- object :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 object = Parent "<object" "</object>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE object #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<ol>@ element. -- -- Example: -- -- > ol $ span $ text "foo" -- -- Result: -- -- > <ol><span>foo</span></ol> -- ol :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 ol = Parent "<ol" "</ol>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE ol #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<optgroup>@ element. -- -- Example: -- -- > optgroup $ span $ text "foo" -- -- Result: -- -- > <optgroup><span>foo</span></optgroup> -- optgroup :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 optgroup = Parent "<optgroup" "</optgroup>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE optgroup #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<option>@ element. -- -- Example: -- -- > option $ span $ text "foo" -- -- Result: -- -- > <option><span>foo</span></option> -- option :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 option = Parent "<option" "</option>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE option #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<p>@ element. -- -- Example: -- -- > p $ span $ text "foo" -- -- Result: -- -- > <p><span>foo</span></p> -- p :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 p = Parent "<p" "</p>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE p #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<param />@ element. -- -- Example: -- -- > param -- -- Result: -- -- > <param /> -- param :: Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:238 param = Leaf "<param" ">" -- ./Util/GenerateHtmlCombinators.hs:239 {-# INLINE param #-} -- ./Util/GenerateHtmlCombinators.hs:240 -- | Combinator for the @\<pre>@ element. -- -- Example: -- -- > pre $ span $ text "foo" -- -- Result: -- -- > <pre><span>foo</span></pre> -- pre :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 pre = Parent "<pre" "</pre>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE pre #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<q>@ element. -- -- Example: -- -- > q $ span $ text "foo" -- -- Result: -- -- > <q><span>foo</span></q> -- q :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 q = Parent "<q" "</q>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE q #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<samp>@ element. -- -- Example: -- -- > samp $ span $ text "foo" -- -- Result: -- -- > <samp><span>foo</span></samp> -- samp :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 samp = Parent "<samp" "</samp>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE samp #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<script>@ element. -- -- Example: -- -- > script $ span $ text "foo" -- -- Result: -- -- > <script><span>foo</span></script> -- script :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 script = Parent "<script" "</script>" . external -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE script #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<select>@ element. -- -- Example: -- -- > select $ span $ text "foo" -- -- Result: -- -- > <select><span>foo</span></select> -- select :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 select = Parent "<select" "</select>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE select #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<small>@ element. -- -- Example: -- -- > small $ span $ text "foo" -- -- Result: -- -- > <small><span>foo</span></small> -- small :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 small = Parent "<small" "</small>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE small #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<span>@ element. -- -- Example: -- -- > span $ span $ text "foo" -- -- Result: -- -- > <span><span>foo</span></span> -- span :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 span = Parent "<span" "</span>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE span #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<strong>@ element. -- -- Example: -- -- > strong $ span $ text "foo" -- -- Result: -- -- > <strong><span>foo</span></strong> -- strong :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 strong = Parent "<strong" "</strong>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE strong #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<style>@ element. -- -- Example: -- -- > style $ span $ text "foo" -- -- Result: -- -- > <style><span>foo</span></style> -- style :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 style = Parent "<style" "</style>" . external -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE style #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<sub>@ element. -- -- Example: -- -- > sub $ span $ text "foo" -- -- Result: -- -- > <sub><span>foo</span></sub> -- sub :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 sub = Parent "<sub" "</sub>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE sub #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<sup>@ element. -- -- Example: -- -- > sup $ span $ text "foo" -- -- Result: -- -- > <sup><span>foo</span></sup> -- sup :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 sup = Parent "<sup" "</sup>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE sup #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<table>@ element. -- -- Example: -- -- > table $ span $ text "foo" -- -- Result: -- -- > <table><span>foo</span></table> -- table :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 table = Parent "<table" "</table>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE table #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<tbody>@ element. -- -- Example: -- -- > tbody $ span $ text "foo" -- -- Result: -- -- > <tbody><span>foo</span></tbody> -- tbody :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 tbody = Parent "<tbody" "</tbody>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE tbody #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<td>@ element. -- -- Example: -- -- > td $ span $ text "foo" -- -- Result: -- -- > <td><span>foo</span></td> -- td :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 td = Parent "<td" "</td>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE td #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<textarea>@ element. -- -- Example: -- -- > textarea $ span $ text "foo" -- -- Result: -- -- > <textarea><span>foo</span></textarea> -- textarea :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 textarea = Parent "<textarea" "</textarea>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE textarea #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<tfoot>@ element. -- -- Example: -- -- > tfoot $ span $ text "foo" -- -- Result: -- -- > <tfoot><span>foo</span></tfoot> -- tfoot :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 tfoot = Parent "<tfoot" "</tfoot>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE tfoot #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<th>@ element. -- -- Example: -- -- > th $ span $ text "foo" -- -- Result: -- -- > <th><span>foo</span></th> -- th :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 th = Parent "<th" "</th>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE th #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<thead>@ element. -- -- Example: -- -- > thead $ span $ text "foo" -- -- Result: -- -- > <thead><span>foo</span></thead> -- thead :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 thead = Parent "<thead" "</thead>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE thead #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<title>@ element. -- -- Example: -- -- > title $ span $ text "foo" -- -- Result: -- -- > <title><span>foo</span></title> -- title :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 title = Parent "<title" "</title>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE title #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<tr>@ element. -- -- Example: -- -- > tr $ span $ text "foo" -- -- Result: -- -- > <tr><span>foo</span></tr> -- tr :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 tr = Parent "<tr" "</tr>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE tr #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<tt>@ element. -- -- Example: -- -- > tt $ span $ text "foo" -- -- Result: -- -- > <tt><span>foo</span></tt> -- tt :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 tt = Parent "<tt" "</tt>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE tt #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<ul>@ element. -- -- Example: -- -- > ul $ span $ text "foo" -- -- Result: -- -- > <ul><span>foo</span></ul> -- ul :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 ul = Parent "<ul" "</ul>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE ul #-} -- ./Util/GenerateHtmlCombinators.hs:216 -- | Combinator for the @\<var>@ element. -- -- Example: -- -- > var $ span $ text "foo" -- -- Result: -- -- > <var><span>foo</span></var> -- var :: Html -- ^ Inner HTML. -- ./Util/GenerateHtmlCombinators.hs:212 -> Html -- ^ Resulting HTML. -- ./Util/GenerateHtmlCombinators.hs:213 var = Parent "<var" "</var>" -- ./Util/GenerateHtmlCombinators.hs:214 {-# INLINE var #-} -- ./Util/GenerateHtmlCombinators.hs:216