-- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:69 -- {-# LANGUAGE OverloadedStrings #-} -- | This module exports HTML combinators used to create documents. -- module Haste.Markup.Html5 ( module Haste.Markup.Html , docType , docTypeHtml , a , abbr , address , area , article , aside , audio , b , base , bdo , blockquote , body , br , button , canvas , caption , cite , code , col , colgroup , command , datalist , dd , del , details , dfn , div , dl , dt , em , embed , fieldset , figcaption , figure , footer , form , h1 , h2 , h3 , h4 , h5 , h6 , head , header , hgroup , hr , html , i , iframe , img , input , ins , kbd , keygen , label , legend , li , link , map , mark , menu , menuitem , meta , meter , nav , noscript , object , ol , optgroup , option , output , p , param , pre , progress , q , rp , rt , ruby , samp , script , section , select , small , source , span , strong , style , sub , summary , sup , table , tbody , td , textarea , tfoot , th , thead , time , title , tr , track , ul , var , video , wbr ) where -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:77 -- import Prelude ((>>), (.)) import Haste.Markup import Haste.Markup.Internal import Haste.Markup.Html -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:156 -- -- | Combinator for the document type. This should be placed at the top -- of every HTML page. -- -- Example: -- -- > docType -- -- Result: -- -- > -- docType :: Html -- ^ The document type HTML. docType = preEscapedText "\n" {-# INLINE docType #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:177 -- -- | Combinator for the @\@ element. This combinator will also -- insert the correct doctype. -- -- Example: -- -- > docTypeHtml $ span $ toHtml "foo" -- -- Result: -- -- > -- > foo -- docTypeHtml :: Html -- ^ Inner HTML. -> Html -- ^ Resulting HTML. docTypeHtml inner = docType >> html inner {-# INLINE docTypeHtml #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:199 -- -- | Combinator for the @\@ element. -- -- Example: -- -- > a $ span $ toHtml "foo" -- -- Result: -- -- > foo -- a :: Html -- ^ Inner HTML. -> Html -- ^ Resulting HTML. a = Parent "a" "" {-# INLINE a #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:199 -- -- | Combinator for the @\@ element. -- -- Example: -- -- > abbr $ span $ toHtml "foo" -- -- Result: -- -- > foo -- abbr :: Html -- ^ Inner HTML. -> Html -- ^ Resulting HTML. abbr = Parent "abbr" "" {-# INLINE abbr #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:199 -- -- | Combinator for the @\
@ element. -- -- Example: -- -- > address $ span $ toHtml "foo" -- -- Result: -- -- >
foo
-- address :: Html -- ^ Inner HTML. -> Html -- ^ Resulting HTML. address = Parent "address" "" {-# INLINE address #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:226 -- -- | Combinator for the @\@ element. -- -- Example: -- -- > area -- -- Result: -- -- > -- area :: Html -- ^ Resulting HTML. area = Leaf "area" "" {-# INLINE area #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:199 -- -- | Combinator for the @\
@ element. -- -- Example: -- -- > article $ span $ toHtml "foo" -- -- Result: -- -- >
foo
-- article :: Html -- ^ Inner HTML. -> Html -- ^ Resulting HTML. article = Parent "article" "" {-# INLINE article #-} -- WARNING: The next block of code was automatically generated by -- src/Util/GenerateHtmlCombinators.hs:199 -- -- | Combinator for the @\