hasmin-1.0.2.1: CSS Minifier

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

Hasmin.Types.Value

Description

 
Synopsis

Documentation

data Value Source #

A CSS value.

Instances
Eq Value Source # 
Instance details

Defined in Hasmin.Types.Value

Methods

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

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

Show Value Source # 
Instance details

Defined in Hasmin.Types.Value

Methods

showsPrec :: Int -> Value -> ShowS #

show :: Value -> String #

showList :: [Value] -> ShowS #

ToText Value Source # 
Instance details

Defined in Hasmin.Types.Value

Minifiable Value Source # 
Instance details

Defined in Hasmin.Types.Value

data Values Source #

Constructors

Values Value [(Separator, Value)] 
Instances
Eq Values Source # 
Instance details

Defined in Hasmin.Types.Value

Methods

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

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

Show Values Source # 
Instance details

Defined in Hasmin.Types.Value

ToText Values Source # 
Instance details

Defined in Hasmin.Types.Value

Minifiable Values Source # 
Instance details

Defined in Hasmin.Types.Value

newtype TextV Source #

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

Constructors

TextV 

Fields

Instances
Eq TextV Source # 
Instance details

Defined in Hasmin.Types.Value

Methods

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

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

Ord TextV Source # 
Instance details

Defined in Hasmin.Types.Value

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 Source # 
Instance details

Defined in Hasmin.Types.Value

Methods

showsPrec :: Int -> TextV -> ShowS #

show :: TextV -> String #

showList :: [TextV] -> ShowS #

IsString TextV Source # 
Instance details

Defined in Hasmin.Types.Value

Methods

fromString :: String -> TextV #

ToText TextV Source # 
Instance details

Defined in Hasmin.Types.Value

data Separator Source #

A value separator.

Constructors

Space 
Slash 
Comma 
Instances
Eq Separator Source # 
Instance details

Defined in Hasmin.Types.Value

Show Separator Source # 
Instance details

Defined in Hasmin.Types.Value

ToText Separator Source # 
Instance details

Defined in Hasmin.Types.Value

newtype Url Source #

Constructors

Url (Either Text StringType) 
Instances
Eq Url Source # 
Instance details

Defined in Hasmin.Types.Value

Methods

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

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

Show Url Source # 
Instance details

Defined in Hasmin.Types.Value

Methods

showsPrec :: Int -> Url -> ShowS #

show :: Url -> String #

showList :: [Url] -> ShowS #

ToText Url Source # 
Instance details

Defined in Hasmin.Types.Value

Minifiable Url Source # 
Instance details

Defined in Hasmin.Types.Value