-- Hoogle documentation, generated by Haddock -- See Hoogle, http://www.haskell.org/hoogle/ -- | html with style -- -- a purely functional html combinator with a clean syntax @package moe @version 2011.6.14 module Text.HTML.Moe.Backend.ByteString type Internal = ByteString pack :: String -> Internal unpack :: Internal -> String none :: Internal concat :: [Internal] -> Internal append :: Internal -> Internal -> Internal intercalate :: Internal -> [Internal] -> Internal to_bs :: Internal -> ByteString module Text.HTML.Moe.Utils escape :: String -> String (+) :: Monoid a => a -> a -> a module Text.HTML.Moe2.Type data Element Element :: Internal -> [Element] -> [Attribute] -> Bool -> Bool -> Element name :: Element -> Internal elements :: Element -> [Element] attributes :: Element -> [Attribute] indent :: Element -> Bool self_close :: Element -> Bool Raw :: Internal -> Element Pre :: Internal -> Element Data :: Internal -> Element Prim :: Internal -> Element Attributes :: [Attribute] -> Element -> Element data Attribute Attribute :: Internal -> Internal -> Attribute key :: Attribute -> Internal value :: Attribute -> Internal type MoeUnitT a = Writer (DList Element) a type MoeUnit = MoeUnitT () type MoeCombinator = MoeUnit -> MoeUnit type LightCombinator = MoeCombinator instance Show Attribute instance Show Element instance Default Attribute instance Default Element module Text.HTML.Moe2.Utils escape :: String -> String (/) :: MoeUnit module Text.HTML.Moe2.Element element :: String -> MoeCombinator (!) :: (MoeUnit -> MoeUnit) -> [Attribute] -> (MoeUnit -> MoeUnit) add_attributes :: (MoeUnit -> MoeUnit) -> [Attribute] -> (MoeUnit -> MoeUnit) e :: String -> MoeCombinator no_indent_element :: String -> MoeCombinator ne :: String -> MoeCombinator self_close_element :: String -> LightCombinator sc :: String -> LightCombinator str, prim, _pre, raw :: String -> MoeUnit no_escape_no_indent_str, no_escape_indent_str, escape_no_indent_str :: String -> MoeUnit raw_bytestring :: MonadWriter (DList Element) m => Internal -> m () prim_bytestring :: MonadWriter (DList Element) m => Internal -> m () module Text.HTML.Moe2.DSL.HTML a :: MoeCombinator body :: MoeCombinator br :: LightCombinator blockquote :: MoeCombinator code :: MoeCombinator colgroup :: MoeCombinator col :: MoeCombinator div :: MoeCombinator form :: MoeCombinator embed :: MoeCombinator em :: MoeCombinator h1 :: MoeCombinator h2 :: MoeCombinator h3 :: MoeCombinator h4 :: MoeCombinator h5 :: MoeCombinator h6 :: MoeCombinator head :: MoeCombinator html :: MoeCombinator hr :: LightCombinator img :: LightCombinator input :: LightCombinator label :: MoeCombinator li :: MoeCombinator link :: LightCombinator meta :: LightCombinator object :: MoeCombinator ol :: MoeCombinator param :: MoeCombinator ul :: MoeCombinator dl :: MoeCombinator dt :: MoeCombinator dd :: MoeCombinator option :: MoeCombinator p :: MoeCombinator pre :: MoeCombinator select :: MoeCombinator script :: MoeCombinator span :: MoeCombinator style :: MoeCombinator strong :: MoeCombinator table :: MoeCombinator textarea :: MoeCombinator td :: MoeCombinator th :: MoeCombinator title :: MoeCombinator tr :: MoeCombinator module Text.HTML.Moe2.DSL.HTML5 article :: MoeCombinator aside :: MoeCombinator audio :: MoeCombinator canvas :: MoeCombinator command :: MoeCombinator datagrid :: MoeCombinator datalist :: MoeCombinator datatemplate :: MoeCombinator details :: MoeCombinator dialog :: MoeCombinator event_source :: MoeCombinator figure :: MoeCombinator footer :: MoeCombinator header :: MoeCombinator mark :: MoeCombinator meter :: MoeCombinator nav :: MoeCombinator nest :: MoeCombinator output :: MoeCombinator progress :: MoeCombinator rule :: MoeCombinator section :: MoeCombinator source :: MoeCombinator time :: MoeCombinator video :: MoeCombinator module Text.HTML.Moe2.Attribute attr :: String -> String -> Attribute _class :: String -> Attribute _data :: String -> Attribute _span :: String -> Attribute _style :: String -> Attribute _title :: String -> Attribute _type :: String -> Attribute action :: String -> Attribute align :: String -> Attribute alt :: String -> Attribute bgcolor :: String -> Attribute border :: String -> Attribute classid :: String -> Attribute colspan :: String -> Attribute cols :: String -> Attribute content :: String -> Attribute height :: String -> Attribute href :: String -> Attribute http_equiv :: String -> Attribute id :: String -> Attribute lang :: String -> Attribute language :: String -> Attribute media :: String -> Attribute method :: String -> Attribute name :: String -> Attribute quality :: String -> Attribute rel :: String -> Attribute rowspan :: String -> Attribute rows :: String -> Attribute selected :: String -> Attribute src :: String -> Attribute size :: String -> Attribute target :: String -> Attribute valign :: String -> Attribute value :: String -> Attribute width :: String -> Attribute xml_lang :: String -> Attribute xmlns :: String -> Attribute module Text.HTML.Moe2.Renderer render :: MoeUnit -> String render_bytestring :: MoeUnit -> ByteString module Text.HTML.Moe2.DSL.Markdown (#) :: String -> MoeUnit (##) :: String -> MoeUnit (###) :: String -> MoeUnit (####) :: String -> MoeUnit (#####) :: String -> MoeUnit (######) :: String -> MoeUnit (>>) :: String -> MoeUnit (*) :: String -> MoeUnit (***) :: MoeUnit (!) :: (MoeUnit -> MoeUnit) -> [Attribute] -> (MoeUnit -> MoeUnit) (<>) :: String -> String -> MoeUnit o :: String -> MoeUnit block :: String -> MoeUnit module Text.HTML.Moe2.DSL.Kawaii c :: String -> MoeUnit -> MoeUnit css :: String -> MoeUnit js :: String -> MoeUnit (~>) :: String -> String -> MoeUnit module Text.HTML.Moe2 module Text.HTML.Moe.Type data Element Element :: Internal -> [Attribute] -> [Element] -> Bool -> Bool -> Element name :: Element -> Internal attributes :: Element -> [Attribute] elements :: Element -> [Element] indent :: Element -> Bool self_close :: Element -> Bool Raw :: Internal -> Element Pre :: Internal -> Element Data :: Internal -> Element Prim :: Internal -> Element data Attribute Attribute :: Internal -> Internal -> Attribute key :: Attribute -> Internal value :: Attribute -> Internal type MoeUnitT a = Writer (DList Element) a type MoeUnit = MoeUnitT () type MoeCombinator = [Attribute] -> MoeUnit -> MoeUnit type MoeCombinator' = MoeUnit -> MoeUnit type LightCombinator = [Attribute] -> MoeUnit type LightCombinator' = MoeUnit instance Show Attribute instance Show Element instance Default Attribute instance Default Element module Text.HTML.Moe.Attribute attr :: String -> String -> Attribute _class :: String -> Attribute _data :: String -> Attribute _span :: String -> Attribute _style :: String -> Attribute _title :: String -> Attribute _type :: String -> Attribute action :: String -> Attribute align :: String -> Attribute alt :: String -> Attribute bgcolor :: String -> Attribute border :: String -> Attribute classid :: String -> Attribute colspan :: String -> Attribute cols :: String -> Attribute content :: String -> Attribute height :: String -> Attribute href :: String -> Attribute http_equiv :: String -> Attribute id :: String -> Attribute lang :: String -> Attribute language :: String -> Attribute media :: String -> Attribute method :: String -> Attribute name :: String -> Attribute quality :: String -> Attribute rel :: String -> Attribute rowspan :: String -> Attribute rows :: String -> Attribute selected :: String -> Attribute src :: String -> Attribute size :: String -> Attribute target :: String -> Attribute valign :: String -> Attribute value :: String -> Attribute width :: String -> Attribute xml_lang :: String -> Attribute xmlns :: String -> Attribute module Text.HTML.Moe.Element element :: String -> MoeCombinator e :: String -> MoeCombinator element' :: (String -> MoeCombinator) -> (String -> MoeCombinator') no_indent_element :: String -> MoeCombinator ne :: String -> MoeCombinator self_close_element :: String -> LightCombinator sc :: String -> LightCombinator a :: MoeCombinator body :: MoeCombinator br :: LightCombinator blockquote :: MoeCombinator code :: MoeCombinator colgroup :: MoeCombinator col :: MoeCombinator div :: MoeCombinator form :: MoeCombinator embed :: MoeCombinator em :: MoeCombinator h1 :: MoeCombinator h2 :: MoeCombinator h3 :: MoeCombinator h4 :: MoeCombinator h5 :: MoeCombinator h6 :: MoeCombinator head :: MoeCombinator html :: MoeCombinator hr :: LightCombinator img :: LightCombinator input :: LightCombinator label :: MoeCombinator li :: MoeCombinator link :: LightCombinator meta :: LightCombinator object :: MoeCombinator ol :: MoeCombinator param :: MoeCombinator ul :: MoeCombinator dl :: MoeCombinator dt :: MoeCombinator dd :: MoeCombinator option :: MoeCombinator p :: MoeCombinator pre :: MoeCombinator select :: MoeCombinator script :: MoeCombinator span :: MoeCombinator style :: MoeCombinator strong :: MoeCombinator table :: MoeCombinator textarea :: MoeCombinator td :: MoeCombinator th :: MoeCombinator title :: MoeCombinator tr :: MoeCombinator a' :: MoeCombinator' body' :: MoeCombinator' br' :: LightCombinator' blockquote' :: MoeCombinator' code' :: MoeCombinator' colgroup' :: MoeCombinator' col' :: MoeCombinator' div' :: MoeCombinator' embed' :: MoeCombinator' em' :: MoeCombinator' form' :: MoeCombinator' h1' :: MoeCombinator' h2' :: MoeCombinator' h3' :: MoeCombinator' h4' :: MoeCombinator' h5' :: MoeCombinator' h6' :: MoeCombinator' head' :: MoeCombinator' html' :: MoeCombinator' hr' :: LightCombinator' img' :: LightCombinator' input' :: LightCombinator' label' :: MoeCombinator' li' :: MoeCombinator' link' :: LightCombinator' meta' :: LightCombinator' object' :: MoeCombinator' ol' :: MoeCombinator' param' :: MoeCombinator' ul' :: MoeCombinator' dl' :: MoeCombinator' dt' :: MoeCombinator' dd' :: MoeCombinator' option' :: MoeCombinator' p' :: MoeCombinator' pre' :: MoeCombinator' select' :: MoeCombinator' script' :: MoeCombinator' span' :: MoeCombinator' style' :: MoeCombinator' strong' :: MoeCombinator' table' :: MoeCombinator' textarea' :: MoeCombinator' td' :: MoeCombinator' th' :: MoeCombinator' title' :: MoeCombinator' tr' :: MoeCombinator' str, prim, _pre, raw :: String -> MoeUnit raw_bytestring :: MonadWriter (DList Element) m => Internal -> m () prim_bytestring :: MonadWriter (DList Element) m => Internal -> m () module Text.HTML.Moe.DSL.HTML5 article :: MoeCombinator aside :: MoeCombinator audio :: MoeCombinator canvas :: MoeCombinator command :: MoeCombinator datagrid :: MoeCombinator datalist :: MoeCombinator datatemplate :: MoeCombinator details :: MoeCombinator dialog :: MoeCombinator event_source :: MoeCombinator figure :: MoeCombinator footer :: MoeCombinator header :: MoeCombinator mark :: MoeCombinator meter :: MoeCombinator nav :: MoeCombinator nest :: MoeCombinator output :: MoeCombinator progress :: MoeCombinator rule :: MoeCombinator section :: MoeCombinator source :: MoeCombinator time :: MoeCombinator video :: MoeCombinator article' :: MoeCombinator' aside' :: MoeCombinator' audio' :: MoeCombinator' canvas' :: MoeCombinator' command' :: MoeCombinator' datagrid' :: MoeCombinator' datalist' :: MoeCombinator' datatemplate' :: MoeCombinator' details' :: MoeCombinator' dialog' :: MoeCombinator' event_source' :: MoeCombinator' figure' :: MoeCombinator' footer' :: MoeCombinator' header' :: MoeCombinator' mark' :: MoeCombinator' meter' :: MoeCombinator' nav' :: MoeCombinator' nest' :: MoeCombinator' output' :: MoeCombinator' progress' :: MoeCombinator' rule' :: MoeCombinator' section' :: MoeCombinator' source' :: MoeCombinator' time' :: MoeCombinator' video' :: MoeCombinator' module Text.HTML.Moe (/) :: MoeUnit render :: MoeUnit -> String render' :: MoeUnit -> ByteString module Text.HTML.Moe.DSL.Markdown (#) :: String -> MoeUnit (##) :: String -> MoeUnit (###) :: String -> MoeUnit (####) :: String -> MoeUnit (#####) :: String -> MoeUnit (######) :: String -> MoeUnit (>>) :: String -> MoeUnit (*) :: String -> MoeUnit (***) :: MoeUnit (!) :: String -> String -> MoeUnit (<>) :: String -> String -> MoeUnit o :: String -> MoeUnit block :: String -> MoeUnit module Text.HTML.Moe.DSL.Kawaii c :: String -> MoeUnit -> MoeUnit css :: String -> MoeUnit js :: String -> MoeUnit (~>) :: String -> String -> MoeUnit