markup-0.0.2: 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

Url input MarkupM => Deploy JavaScript input (MarkupM ()) LocalMarkupM 
ToValue input => Deploy JavaScript input (MarkupM ()) HostedMarkupM 
ToMarkup input => Deploy JavaScript input (MarkupM ()) InlineMarkupM 
Url input MarkupM => Deploy Image input (MarkupM ()) LocalMarkupM 
ToValue input => Deploy Image input (MarkupM ()) HostedMarkupM 
(Url input MarkupM, Monad m) => Deploy JavaScript input (MarkupM ()) (LocalMarkupT m) 
(ToValue input, Monad m) => Deploy JavaScript input (MarkupM ()) (HostedMarkupT m) 
(ToMarkup input, Monad m) => Deploy JavaScript input (MarkupM ()) (InlineMarkupT m) 
(Url input MarkupM, Monad m) => Deploy Image input (MarkupM ()) (LocalMarkupT m) 
(ToValue input, Monad m) => Deploy Image input (MarkupM ()) (HostedMarkupT m) 
Url input m => Deploy JavaScript input (HtmlT m ()) LocalMarkupM 
Monad m => Deploy JavaScript Text (HtmlT m ()) InlineMarkupM 
Monad m => Deploy JavaScript Text (HtmlT m ()) HostedMarkupM 
Monad m => Deploy JavaScript Text (HtmlT m ()) InlineMarkupM 
Url input m => Deploy Image input (HtmlT m ()) LocalMarkupM 
Monad m => Deploy Image Text (HtmlT m ()) LocalMarkupM 
Monad m => Deploy Image Text (HtmlT m ()) HostedMarkupM 
(Url input m, Monad m') => Deploy JavaScript input (HtmlT m ()) (LocalMarkupT 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') 
(Url input m, Monad m') => Deploy Image input (HtmlT m ()) (LocalMarkupT m') 
(Monad m, Monad m') => Deploy Image Text (HtmlT m ()) (LocalMarkupT m') 
(Monad m, Monad m') => Deploy Image Text (HtmlT m ()) (HostedMarkupT m') 

class Monad m => Markup m where Source

Overload extraction of monad

Methods

renderMarkup :: m a -> a Source