Safe Haskell | None |
---|---|
Language | Haskell2010 |
- module Text.Html.Nice.Writer
- module Text.Html.Nice.Writer.Html5
- data FastMarkup a
- class Render a m where
- data a :$ b = (:$) (FastMarkup (a -> b)) a
- renderM :: Monad m => (a -> m Builder) -> FastMarkup a -> m Builder
- renderMs :: Monad m => (a -> m (FastMarkup Void)) -> FastMarkup a -> m Builder
- render :: FastMarkup Void -> Builder
- module Data.Text.Lazy.Builder
- module Data.Text.Lazy.Builder.Int
- module Data.Text.Lazy.Builder.RealFloat
- data Text :: *
- fromStrict :: Text -> Text
- toStrict :: Text -> Text
Nice HTML writer monad
module Text.Html.Nice.Writer
HTML5 support
module Text.Html.Nice.Writer.Html5
Rendering
data FastMarkup a Source #
Functor FastMarkup Source # | |
Foldable FastMarkup Source # | |
Traversable FastMarkup Source # | |
Eq a => Eq (FastMarkup a) Source # | |
Show a => Show (FastMarkup a) Source # | |
Generic (FastMarkup a) Source # | |
Monoid (FastMarkup a) Source # | |
NFData a => NFData (FastMarkup a) Source # | |
(Render a m, Monad m) => Render (FastMarkup a) m Source # | |
type Rep (FastMarkup a) Source # | |
(:$) (FastMarkup (a -> b)) a infixl 0 |
renderM :: Monad m => (a -> m Builder) -> FastMarkup a -> m Builder Source #
Render FastMarkup
renderMs :: Monad m => (a -> m (FastMarkup Void)) -> FastMarkup a -> m Builder Source #
Render FastMarkup
by recursively rendering any sub-markup.
render :: FastMarkup Void -> Builder Source #
Render FastMarkup
that has no holes.
Re-exports of Builder
functions
module Data.Text.Lazy.Builder
module Data.Text.Lazy.Builder.Int