tamper-0.4.2.3: Blaze-style HTML templates as a Monad Transformer.

Safe HaskellNone
LanguageHaskell2010

Text.Tamper.DOM

Synopsis

Documentation

data NodeList t Source #

A list of DOM nodes.

Instances
Eq t => Eq (NodeList t) Source # 
Instance details

Defined in Text.Tamper.DOM

Methods

(==) :: NodeList t -> NodeList t -> Bool #

(/=) :: NodeList t -> NodeList t -> Bool #

Ord t => Ord (NodeList t) Source # 
Instance details

Defined in Text.Tamper.DOM

Methods

compare :: NodeList t -> NodeList t -> Ordering #

(<) :: NodeList t -> NodeList t -> Bool #

(<=) :: NodeList t -> NodeList t -> Bool #

(>) :: NodeList t -> NodeList t -> Bool #

(>=) :: NodeList t -> NodeList t -> Bool #

max :: NodeList t -> NodeList t -> NodeList t #

min :: NodeList t -> NodeList t -> NodeList t #

Show t => Show (NodeList t) Source # 
Instance details

Defined in Text.Tamper.DOM

Methods

showsPrec :: Int -> NodeList t -> ShowS #

show :: NodeList t -> String #

showList :: [NodeList t] -> ShowS #

Semigroup (NodeList t) Source # 
Instance details

Defined in Text.Tamper.DOM

Methods

(<>) :: NodeList t -> NodeList t -> NodeList t #

sconcat :: NonEmpty (NodeList t) -> NodeList t #

stimes :: Integral b => b -> NodeList t -> NodeList t #

Monoid (NodeList t) Source # 
Instance details

Defined in Text.Tamper.DOM

Methods

mempty :: NodeList t #

mappend :: NodeList t -> NodeList t -> NodeList t #

mconcat :: [NodeList t] -> NodeList t #

data ElementClosingStyle Source #

Constructors

SingletonElement

Always self-close

ElaborateElement

Never self-close

AutoClosingElement

Self-close if no content

Instances
Enum ElementClosingStyle Source # 
Instance details

Defined in Text.Tamper.DOM

Eq ElementClosingStyle Source # 
Instance details

Defined in Text.Tamper.DOM

Ord ElementClosingStyle Source # 
Instance details

Defined in Text.Tamper.DOM

Show ElementClosingStyle Source # 
Instance details

Defined in Text.Tamper.DOM

data Node t Source #

Instances
Eq t => Eq (Node t) Source # 
Instance details

Defined in Text.Tamper.DOM

Methods

(==) :: Node t -> Node t -> Bool #

(/=) :: Node t -> Node t -> Bool #

Ord t => Ord (Node t) Source # 
Instance details

Defined in Text.Tamper.DOM

Methods

compare :: Node t -> Node t -> Ordering #

(<) :: Node t -> Node t -> Bool #

(<=) :: Node t -> Node t -> Bool #

(>) :: Node t -> Node t -> Bool #

(>=) :: Node t -> Node t -> Bool #

max :: Node t -> Node t -> Node t #

min :: Node t -> Node t -> Node t #

Show t => Show (Node t) Source # 
Instance details

Defined in Text.Tamper.DOM

Methods

showsPrec :: Int -> Node t -> ShowS #

show :: Node t -> String #

showList :: [Node t] -> ShowS #

textNode :: t -> Node t Source #

setAttr :: Ord t => t -> t -> Node t -> Node t Source #

getAttr :: Ord t => t -> Node t -> Maybe t Source #

getAttrDef :: Ord t => t -> t -> Node t -> t Source #

appendChild :: Node t -> Node t -> Node t Source #