Safe Haskell | None |
---|
Senza
Description
An interface to blaze-html without the need for operators.
- module Senza.Elements
- module Senza.Types
- module Text.Blaze.Html5.Attributes
- data Attribute
- class Attributable h
- data AttributeValue
- toValue :: ToValue a => a -> AttributeValue
- renderSenza :: Senza -> Text
Documentation
module Senza.Elements
module Senza.Types
module Text.Blaze.Html5.Attributes
class Attributable h
Used for applying attributes. You should not define your own instances of this class.
Instances
Attributable (MarkupM a) | |
Attributable (MarkupM a -> MarkupM b) |
data AttributeValue
The type for the value part of an attribute.
toValue :: ToValue a => a -> AttributeValue
Convert a value to an attribute value
renderSenza :: Senza -> TextSource
Will protect other codebases from when Text.Blaze.Html eventually gets renamed to Text.Blaze.Markup or something.