hasmin-1.0.2: CSS Minifier

Copyright(c) 2017 Cristian Adrián Ontivero
LicenseBSD3
Stabilityexperimental
Portabilityunknown
Safe HaskellNone
LanguageHaskell2010

Hasmin.Types.Value

Description

 

Synopsis

Documentation

data Value #

A CSS value.

Instances

data Values #

Constructors

Values Value [(Separator, Value)] 

newtype TextV #

Redefines equality to be case-insensitive, since CSS literal values such as "auto", "none", etc. are so.

Constructors

TextV 

Fields

Instances

Eq TextV # 

Methods

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

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

Ord TextV # 

Methods

compare :: TextV -> TextV -> Ordering #

(<) :: TextV -> TextV -> Bool #

(<=) :: TextV -> TextV -> Bool #

(>) :: TextV -> TextV -> Bool #

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

max :: TextV -> TextV -> TextV #

min :: TextV -> TextV -> TextV #

Show TextV # 

Methods

showsPrec :: Int -> TextV -> ShowS #

show :: TextV -> String #

showList :: [TextV] -> ShowS #

IsString TextV # 

Methods

fromString :: String -> TextV #

ToText TextV # 

data Separator #

A value separator.

Constructors

Space 
Slash 
Comma 

newtype Url #

Constructors

Url (Either Text StringType) 

Instances

Eq Url # 

Methods

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

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

Show Url # 

Methods

showsPrec :: Int -> Url -> ShowS #

show :: Url -> String #

showList :: [Url] -> ShowS #

ToText Url # 

Methods

toText :: Url -> Text #

toBuilder :: Url -> Builder #

Minifiable Url # 

Methods

minify :: Url -> Reader Config Url #