alist-0.1.1.7: lists with O(1) append

Safe HaskellSafe
LanguageHaskell98

Data.AList.NonEmpty

Documentation

data AListNonEmpty a Source #

Instances
Foldable AListNonEmpty Source # 
Instance details

Defined in Data.AList.NonEmpty

Methods

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

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

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

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

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

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

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

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

toList :: AListNonEmpty a -> [a] #

null :: AListNonEmpty a -> Bool #

length :: AListNonEmpty a -> Int #

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

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

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

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

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

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

Defined in Data.AList.NonEmpty

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

Defined in Data.AList.NonEmpty

Semigroup (AListNonEmpty a) Source # 
Instance details

Defined in Data.AList.NonEmpty