xhtml-combinators-0.3: Fast and easy to use XHTML combinators.
Text.XHtmlCombinators.Internal
Description
newtype XHtmlMT x t a Source
Constructors
Fields
Instances
tellS :: Monad t => x -> XHtmlMT x t ()Source
execXHtmlMT :: Monad t => XHtmlMT x t () -> t (Seq x)Source
type XHtmlT t x = XHtmlMT x t ()Source
type XHtml x = XHtmlT Identity xSource
empty :: Monad t => XHtmlT t xSource
type Attrs = [Attr]Source
data Attr Source
data Node Source
class CData c whereSource
Methods
cdata :: Text -> cSource
text :: (Functor t, Monad t, CData c) => Text -> XHtmlT t cSource
class Content e whereSource
toContent :: e -> NodeSource
newtype Root Source
textNode :: Text -> Attrs -> Attrs -> Text -> NodeSource
emptyNode :: Text -> Attrs -> Attrs -> NodeSource
node :: (Functor t, Monad t, Content e) => Text -> Attrs -> Attrs -> XHtmlT t e -> t NodeSource
tellTextNode :: Monad t => (Node -> e) -> Text -> Attrs -> Attrs -> Text -> XHtmlT t eSource
tellEmptyNode :: Monad t => (Node -> e) -> Text -> Attrs -> Attrs -> XHtmlT t eSource
tellNode :: (Functor t, Monad t, Content a) => (Node -> b) -> Text -> Attrs -> Attrs -> XHtmlT t a -> XHtmlT t bSource
first :: Seq a -> aSource