hasmin-1.0.2: CSS Minifier

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

Hasmin.Types.BasicShape

Description

 

Synopsis

Documentation

data AtMost2 a Source #

Constructors

None 
One a 
Two a a 

Instances

Functor AtMost2 Source # 

Methods

fmap :: (a -> b) -> AtMost2 a -> AtMost2 b #

(<$) :: a -> AtMost2 b -> AtMost2 a #

Foldable AtMost2 Source # 

Methods

fold :: Monoid m => AtMost2 m -> m #

foldMap :: Monoid m => (a -> m) -> AtMost2 a -> m #

foldr :: (a -> b -> b) -> b -> AtMost2 a -> b #

foldr' :: (a -> b -> b) -> b -> AtMost2 a -> b #

foldl :: (b -> a -> b) -> b -> AtMost2 a -> b #

foldl' :: (b -> a -> b) -> b -> AtMost2 a -> b #

foldr1 :: (a -> a -> a) -> AtMost2 a -> a #

foldl1 :: (a -> a -> a) -> AtMost2 a -> a #

toList :: AtMost2 a -> [a] #

null :: AtMost2 a -> Bool #

length :: AtMost2 a -> Int #

elem :: Eq a => a -> AtMost2 a -> Bool #

maximum :: Ord a => AtMost2 a -> a #

minimum :: Ord a => AtMost2 a -> a #

sum :: Num a => AtMost2 a -> a #

product :: Num a => AtMost2 a -> a #

Traversable AtMost2 Source # 

Methods

traverse :: Applicative f => (a -> f b) -> AtMost2 a -> f (AtMost2 b) #

sequenceA :: Applicative f => AtMost2 (f a) -> f (AtMost2 a) #

mapM :: Monad m => (a -> m b) -> AtMost2 a -> m (AtMost2 b) #

sequence :: Monad m => AtMost2 (m a) -> m (AtMost2 a) #

Eq a => Eq (AtMost2 a) Source # 

Methods

(==) :: AtMost2 a -> AtMost2 a -> Bool #

(/=) :: AtMost2 a -> AtMost2 a -> Bool #

Show a => Show (AtMost2 a) Source # 

Methods

showsPrec :: Int -> AtMost2 a -> ShowS #

show :: AtMost2 a -> String #

showList :: [AtMost2 a] -> ShowS #