markup-4.0.1: Abstraction for HTML-embedded content

Copyright(c) Athan L. Clark
LicenseMIT
MaintainerAthan L. Clark <athan.clark@gmail.com>
Stabilityexperimental
PortabilityGHC
Safe HaskellNone
LanguageHaskell2010

Data.Markup.Library

Description

This module enumerates the expected behavior for each type of asset to be deployed.

Documentation

data Image Source #

Constructors

Image 

Instances

Eq Image Source # 

Methods

(==) :: Image -> Image -> Bool #

(/=) :: Image -> Image -> Bool #

Show Image Source # 

Methods

showsPrec :: Int -> Image -> ShowS #

show :: Image -> String #

showList :: [Image] -> ShowS #

Deploy Image Locally Text MarkupM Source # 

Methods

deploy :: Image -> Locally -> Text -> MarkupM () Source #

Deploy Image Remote Text MarkupM Source # 

Methods

deploy :: Image -> Remote -> Text -> MarkupM () Source #

Monad m => Deploy Image Locally Text (HtmlT m) Source # 

Methods

deploy :: Image -> Locally -> Text -> HtmlT m () Source #

Monad m => Deploy Image Remote Text (HtmlT m) Source # 

Methods

deploy :: Image -> Remote -> Text -> HtmlT m () Source #

MonadUrl Abs t (GroundedUrlT MarkupM) => Deploy Image Locally (Path Abs t) (GroundedUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (GroundedUrlT m)) => Deploy Image Locally (Path Abs t) (HtmlT (GroundedUrlT m)) Source # 

Methods

deploy :: Image -> Locally -> Path Abs t -> HtmlT (GroundedUrlT m) () Source #

MonadUrl Rel t (RelativeUrlT MarkupM) => Deploy Image Locally (Path Rel t) (RelativeUrlT MarkupM) Source # 
(Monad m, MonadUrl Rel t (RelativeUrlT m)) => Deploy Image Locally (Path Rel t) (HtmlT (RelativeUrlT m)) Source # 

Methods

deploy :: Image -> Locally -> Path Rel t -> HtmlT (RelativeUrlT m) () Source #

MonadUrl Abs t (GroundedUrlT MarkupM) => Deploy Image Locally (Location Abs t) (GroundedUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (GroundedUrlT m)) => Deploy Image Locally (Location Abs t) (HtmlT (GroundedUrlT m)) Source # 

Methods

deploy :: Image -> Locally -> Location Abs t -> HtmlT (GroundedUrlT m) () Source #

MonadUrl Rel t (RelativeUrlT MarkupM) => Deploy Image Locally (Location Rel t) (RelativeUrlT MarkupM) Source # 
(Monad m, MonadUrl Rel t (RelativeUrlT m)) => Deploy Image Locally (Location Rel t) (HtmlT (RelativeUrlT m)) Source # 

Methods

deploy :: Image -> Locally -> Location Rel t -> HtmlT (RelativeUrlT m) () Source #

MonadUrl Abs t (AbsoluteUrlT MarkupM) => Deploy Image Remote (Path Abs t) (AbsoluteUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (AbsoluteUrlT m)) => Deploy Image Remote (Path Abs t) (HtmlT (AbsoluteUrlT m)) Source # 

Methods

deploy :: Image -> Remote -> Path Abs t -> HtmlT (AbsoluteUrlT m) () Source #

MonadUrl Abs t (AbsoluteUrlT MarkupM) => Deploy Image Remote (Location Abs t) (AbsoluteUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (AbsoluteUrlT m)) => Deploy Image Remote (Location Abs t) (HtmlT (AbsoluteUrlT m)) Source # 

Methods

deploy :: Image -> Remote -> Location Abs t -> HtmlT (AbsoluteUrlT m) () Source #

data JavaScript Source #

Constructors

JavaScript 

Instances

Eq JavaScript Source # 
Show JavaScript Source # 
Deploy JavaScript Locally Text MarkupM Source # 

Methods

deploy :: JavaScript -> Locally -> Text -> MarkupM () Source #

Deploy JavaScript Remote Text MarkupM Source # 

Methods

deploy :: JavaScript -> Remote -> Text -> MarkupM () Source #

Deploy JavaScript Inline Text MarkupM Source # 

Methods

deploy :: JavaScript -> Inline -> Text -> MarkupM () Source #

Deploy JavaScript Inline Text MarkupM Source # 

Methods

deploy :: JavaScript -> Inline -> Text -> MarkupM () Source #

Monad m => Deploy JavaScript Locally Text (HtmlT m) Source # 

Methods

deploy :: JavaScript -> Locally -> Text -> HtmlT m () Source #

Monad m => Deploy JavaScript Remote Text (HtmlT m) Source # 

Methods

deploy :: JavaScript -> Remote -> Text -> HtmlT m () Source #

Monad m => Deploy JavaScript Inline Text (HtmlT m) Source # 

Methods

deploy :: JavaScript -> Inline -> Text -> HtmlT m () Source #

Monad m => Deploy JavaScript Inline Text (HtmlT m) Source # 

Methods

deploy :: JavaScript -> Inline -> Text -> HtmlT m () Source #

MonadUrl Abs t (GroundedUrlT MarkupM) => Deploy JavaScript Locally (Path Abs t) (GroundedUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (GroundedUrlT m)) => Deploy JavaScript Locally (Path Abs t) (HtmlT (GroundedUrlT m)) Source # 

Methods

deploy :: JavaScript -> Locally -> Path Abs t -> HtmlT (GroundedUrlT m) () Source #

MonadUrl Rel t (RelativeUrlT MarkupM) => Deploy JavaScript Locally (Path Rel t) (RelativeUrlT MarkupM) Source # 
(Monad m, MonadUrl Rel t (RelativeUrlT m)) => Deploy JavaScript Locally (Path Rel t) (HtmlT (RelativeUrlT m)) Source # 

Methods

deploy :: JavaScript -> Locally -> Path Rel t -> HtmlT (RelativeUrlT m) () Source #

MonadUrl Abs t (GroundedUrlT MarkupM) => Deploy JavaScript Locally (Location Abs t) (GroundedUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (GroundedUrlT m)) => Deploy JavaScript Locally (Location Abs t) (HtmlT (GroundedUrlT m)) Source # 
MonadUrl Rel t (RelativeUrlT MarkupM) => Deploy JavaScript Locally (Location Rel t) (RelativeUrlT MarkupM) Source # 
(Monad m, MonadUrl Rel t (RelativeUrlT m)) => Deploy JavaScript Locally (Location Rel t) (HtmlT (RelativeUrlT m)) Source # 
MonadUrl Abs t (AbsoluteUrlT MarkupM) => Deploy JavaScript Remote (Path Abs t) (AbsoluteUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (AbsoluteUrlT m)) => Deploy JavaScript Remote (Path Abs t) (HtmlT (AbsoluteUrlT m)) Source # 

Methods

deploy :: JavaScript -> Remote -> Path Abs t -> HtmlT (AbsoluteUrlT m) () Source #

MonadUrl Abs t (AbsoluteUrlT MarkupM) => Deploy JavaScript Remote (Location Abs t) (AbsoluteUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (AbsoluteUrlT m)) => Deploy JavaScript Remote (Location Abs t) (HtmlT (AbsoluteUrlT m)) Source # 

data Css Source #

Constructors

Css 

Instances

Eq Css Source # 

Methods

(==) :: Css -> Css -> Bool #

(/=) :: Css -> Css -> Bool #

Show Css Source # 

Methods

showsPrec :: Int -> Css -> ShowS #

show :: Css -> String #

showList :: [Css] -> ShowS #

Deploy Css Locally Text MarkupM Source # 

Methods

deploy :: Css -> Locally -> Text -> MarkupM () Source #

Deploy Css Remote Text MarkupM Source # 

Methods

deploy :: Css -> Remote -> Text -> MarkupM () Source #

Deploy Css Inline Text MarkupM Source # 

Methods

deploy :: Css -> Inline -> Text -> MarkupM () Source #

Deploy Css Inline Text MarkupM Source # 

Methods

deploy :: Css -> Inline -> Text -> MarkupM () Source #

Deploy Css Inline Css MarkupM Source # 

Methods

deploy :: Css -> Inline -> Css -> MarkupM () Source #

Monad m => Deploy Css Locally Text (HtmlT m) Source # 

Methods

deploy :: Css -> Locally -> Text -> HtmlT m () Source #

Monad m => Deploy Css Remote Text (HtmlT m) Source # 

Methods

deploy :: Css -> Remote -> Text -> HtmlT m () Source #

Monad m => Deploy Css Inline Text (HtmlT m) Source # 

Methods

deploy :: Css -> Inline -> Text -> HtmlT m () Source #

Monad m => Deploy Css Inline Text (HtmlT m) Source # 

Methods

deploy :: Css -> Inline -> Text -> HtmlT m () Source #

Monad m => Deploy Css Inline Css (HtmlT m) Source # 

Methods

deploy :: Css -> Inline -> Css -> HtmlT m () Source #

MonadUrl Abs t (GroundedUrlT MarkupM) => Deploy Css Locally (Path Abs t) (GroundedUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (GroundedUrlT m)) => Deploy Css Locally (Path Abs t) (HtmlT (GroundedUrlT m)) Source # 

Methods

deploy :: Css -> Locally -> Path Abs t -> HtmlT (GroundedUrlT m) () Source #

MonadUrl Rel t (RelativeUrlT MarkupM) => Deploy Css Locally (Path Rel t) (RelativeUrlT MarkupM) Source # 
(Monad m, MonadUrl Rel t (RelativeUrlT m)) => Deploy Css Locally (Path Rel t) (HtmlT (RelativeUrlT m)) Source # 

Methods

deploy :: Css -> Locally -> Path Rel t -> HtmlT (RelativeUrlT m) () Source #

MonadUrl Abs t (GroundedUrlT MarkupM) => Deploy Css Locally (Location Abs t) (GroundedUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (GroundedUrlT m)) => Deploy Css Locally (Location Abs t) (HtmlT (GroundedUrlT m)) Source # 

Methods

deploy :: Css -> Locally -> Location Abs t -> HtmlT (GroundedUrlT m) () Source #

MonadUrl Rel t (RelativeUrlT MarkupM) => Deploy Css Locally (Location Rel t) (RelativeUrlT MarkupM) Source # 
(Monad m, MonadUrl Rel t (RelativeUrlT m)) => Deploy Css Locally (Location Rel t) (HtmlT (RelativeUrlT m)) Source # 

Methods

deploy :: Css -> Locally -> Location Rel t -> HtmlT (RelativeUrlT m) () Source #

MonadUrl Abs t (AbsoluteUrlT MarkupM) => Deploy Css Remote (Path Abs t) (AbsoluteUrlT MarkupM) Source # 

Methods

deploy :: Css -> Remote -> Path Abs t -> AbsoluteUrlT MarkupM () Source #

(Monad m, MonadUrl Abs t (AbsoluteUrlT m)) => Deploy Css Remote (Path Abs t) (HtmlT (AbsoluteUrlT m)) Source # 

Methods

deploy :: Css -> Remote -> Path Abs t -> HtmlT (AbsoluteUrlT m) () Source #

MonadUrl Abs t (AbsoluteUrlT MarkupM) => Deploy Css Remote (Location Abs t) (AbsoluteUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (AbsoluteUrlT m)) => Deploy Css Remote (Location Abs t) (HtmlT (AbsoluteUrlT m)) Source # 

Methods

deploy :: Css -> Remote -> Location Abs t -> HtmlT (AbsoluteUrlT m) () Source #

data WebComponent Source #

Constructors

WebComponent 

Instances

Eq WebComponent Source # 
Show WebComponent Source # 
Deploy WebComponent Locally Text MarkupM Source # 
Deploy WebComponent Remote Text MarkupM Source # 

Methods

deploy :: WebComponent -> Remote -> Text -> MarkupM () Source #

Monad m => Deploy WebComponent Locally Text (HtmlT m) Source # 

Methods

deploy :: WebComponent -> Locally -> Text -> HtmlT m () Source #

Monad m => Deploy WebComponent Remote Text (HtmlT m) Source # 

Methods

deploy :: WebComponent -> Remote -> Text -> HtmlT m () Source #

MonadUrl Abs t (GroundedUrlT MarkupM) => Deploy WebComponent Locally (Path Abs t) (GroundedUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (GroundedUrlT m)) => Deploy WebComponent Locally (Path Abs t) (HtmlT (GroundedUrlT m)) Source # 
MonadUrl Rel t (RelativeUrlT MarkupM) => Deploy WebComponent Locally (Path Rel t) (RelativeUrlT MarkupM) Source # 
(Monad m, MonadUrl Rel t (RelativeUrlT m)) => Deploy WebComponent Locally (Path Rel t) (HtmlT (RelativeUrlT m)) Source # 
MonadUrl Abs t (GroundedUrlT MarkupM) => Deploy WebComponent Locally (Location Abs t) (GroundedUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (GroundedUrlT m)) => Deploy WebComponent Locally (Location Abs t) (HtmlT (GroundedUrlT m)) Source # 
MonadUrl Rel t (RelativeUrlT MarkupM) => Deploy WebComponent Locally (Location Rel t) (RelativeUrlT MarkupM) Source # 
(Monad m, MonadUrl Rel t (RelativeUrlT m)) => Deploy WebComponent Locally (Location Rel t) (HtmlT (RelativeUrlT m)) Source # 
MonadUrl Abs t (AbsoluteUrlT MarkupM) => Deploy WebComponent Remote (Path Abs t) (AbsoluteUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (AbsoluteUrlT m)) => Deploy WebComponent Remote (Path Abs t) (HtmlT (AbsoluteUrlT m)) Source # 
MonadUrl Abs t (AbsoluteUrlT MarkupM) => Deploy WebComponent Remote (Location Abs t) (AbsoluteUrlT MarkupM) Source # 
(Monad m, MonadUrl Abs t (AbsoluteUrlT m)) => Deploy WebComponent Remote (Location Abs t) (HtmlT (AbsoluteUrlT m)) Source #