markup-0.0.6.1: Abstraction for markup languages

Safe HaskellNone
LanguageHaskell2010

Data.Markup.Class

Synopsis

Documentation

class Deploy symbol input markup m where Source

Overload assets and their markup library, over some deployment

Methods

deploy :: symbol -> input -> m markup Source

Instances

ToValue input => Deploy Css input (MarkupM ()) HostedMarkupM 
ToMarkup input => Deploy Css input (MarkupM ()) InlineMarkupM 
Url Text MarkupM => Deploy Css Text (MarkupM ()) LocalMarkupM 
ToValue input => Deploy JavaScript input (MarkupM ()) HostedMarkupM 
ToMarkup input => Deploy JavaScript input (MarkupM ()) InlineMarkupM 
Url Text MarkupM => Deploy JavaScript Text (MarkupM ()) LocalMarkupM 
ToValue input => Deploy Image input (MarkupM ()) HostedMarkupM 
Url Text MarkupM => Deploy Image Text (MarkupM ()) LocalMarkupM 
(ToValue input, Monad m) => Deploy Css input (MarkupM ()) (HostedMarkupT m) 
(ToMarkup input, Monad m) => Deploy Css input (MarkupM ()) (InlineMarkupT m) 
(Url Text MarkupM, Monad m) => Deploy Css Text (MarkupM ()) (LocalMarkupT m) 
(ToValue input, Monad m) => Deploy JavaScript input (MarkupM ()) (HostedMarkupT m) 
(ToMarkup input, Monad m) => Deploy JavaScript input (MarkupM ()) (InlineMarkupT m) 
(Url Text MarkupM, Monad m) => Deploy JavaScript Text (MarkupM ()) (LocalMarkupT m) 
(ToValue input, Monad m) => Deploy Image input (MarkupM ()) (HostedMarkupT m) 
(Url Text MarkupM, Monad m) => Deploy Image Text (MarkupM ()) (LocalMarkupT m) 
Monad m => Deploy Css Text (HtmlT m ()) InlineMarkupM 
Monad m => Deploy Css Text (HtmlT m ()) HostedMarkupM 
Monad m => Deploy Css Text (HtmlT m ()) InlineMarkupM 
Monad m => Deploy JavaScript Text (HtmlT m ()) InlineMarkupM 
Monad m => Deploy JavaScript Text (HtmlT m ()) HostedMarkupM 
Monad m => Deploy JavaScript Text (HtmlT m ()) InlineMarkupM 
Monad m => Deploy Image Text (HtmlT m ()) LocalMarkupM 
Monad m => Deploy Image Text (HtmlT m ()) HostedMarkupM 
(Monad m, Monad m') => Deploy Css Text (HtmlT m ()) (InlineMarkupT m') 
(Monad m, Monad m') => Deploy Css Text (HtmlT m ()) (HostedMarkupT m') 
(Monad m, Monad m') => Deploy Css Text (HtmlT m ()) (InlineMarkupT m') 
(Monad m, Monad m') => Deploy JavaScript Text (HtmlT m ()) (InlineMarkupT m') 
(Monad m, Monad m') => Deploy JavaScript Text (HtmlT m ()) (HostedMarkupT m') 
(Monad m, Monad m') => Deploy JavaScript Text (HtmlT m ()) (InlineMarkupT m') 
(Monad m, Monad m') => Deploy Image Text (HtmlT m ()) (LocalMarkupT m') 
(Monad m, Monad m') => Deploy Image Text (HtmlT m ()) (HostedMarkupT m') 
Url Text MarkupM => Deploy Css (UrlString Text) (MarkupM ()) LocalMarkupM 
Url Text MarkupM => Deploy JavaScript (UrlString Text) (MarkupM ()) LocalMarkupM 
Url Text MarkupM => Deploy Image (UrlString Text) (MarkupM ()) LocalMarkupM 
(Url Text MarkupM, Monad m) => Deploy Css (UrlString Text) (MarkupM ()) (LocalMarkupT m) 
(Url Text MarkupM, Monad m) => Deploy JavaScript (UrlString Text) (MarkupM ()) (LocalMarkupT m) 
(Url Text MarkupM, Monad m) => Deploy Image (UrlString Text) (MarkupM ()) (LocalMarkupT m) 
Url Text m => Deploy Css (UrlString Text) (HtmlT m ()) LocalMarkupM 
Url Text m => Deploy JavaScript (UrlString Text) (HtmlT m ()) LocalMarkupM 
Url Text m => Deploy Image (UrlString Text) (HtmlT m ()) LocalMarkupM 
(Url Text m, Monad m') => Deploy Css (UrlString Text) (HtmlT m ()) (LocalMarkupT m') 
(Url Text m, Monad m') => Deploy JavaScript (UrlString Text) (HtmlT m ()) (LocalMarkupT m') 
(Url Text m, Monad m') => Deploy Image (UrlString Text) (HtmlT m ()) (LocalMarkupT m') 

class Monad m => Markup m where Source

Overload extraction of (co)monad

Methods

renderMarkup :: m a -> a Source

toMarkup :: a -> m a Source