alist-0.1.2.7: lists with O(1) append

Safe HaskellSafe
LanguageHaskell98

Data.AList

Documentation

data AList a Source #

Constructors

AListTip a 
AListAppend (AList a) (AList a) 
AListEmpty 
Instances
Foldable AList Source # 
Instance details

Defined in Data.AList

Methods

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

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

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

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

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

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

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

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

toList :: AList a -> [a] #

null :: AList a -> Bool #

length :: AList a -> Int #

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

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

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

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

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

Eq a => Eq (AList a) Source # 
Instance details

Defined in Data.AList

Methods

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

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

Ord a => Ord (AList a) Source # 
Instance details

Defined in Data.AList

Methods

compare :: AList a -> AList a -> Ordering #

(<) :: AList a -> AList a -> Bool #

(<=) :: AList a -> AList a -> Bool #

(>) :: AList a -> AList a -> Bool #

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

max :: AList a -> AList a -> AList a #

min :: AList a -> AList a -> AList a #

Read a => Read (AList a) Source # 
Instance details

Defined in Data.AList

Show a => Show (AList a) Source # 
Instance details

Defined in Data.AList

Methods

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

show :: AList a -> String #

showList :: [AList a] -> ShowS #

Semigroup (AList a) Source # 
Instance details

Defined in Data.AList

Methods

(<>) :: AList a -> AList a -> AList a #

sconcat :: NonEmpty (AList a) -> AList a #

stimes :: Integral b => b -> AList a -> AList a #

Monoid (AList a) Source # 
Instance details

Defined in Data.AList

Methods

mempty :: AList a #

mappend :: AList a -> AList a -> AList a #

mconcat :: [AList a] -> AList a #

append :: AList a -> AList a -> AList a Source #

cons :: a -> AList a -> AList a Source #

snoc :: AList a -> a -> AList a Source #

drawAList :: Show a => AList a -> [Char] Source #

drawAList' :: Show a => AList a -> [Char] Source #