GHC.Data.SizedSeq
data SizedSeq a Source #
Constructors
Defined in GHC.Data.SizedSeq
Methods
fmap :: (a -> b) -> SizedSeq a -> SizedSeq b #
(<$) :: a -> SizedSeq b -> SizedSeq a #
fold :: Monoid m => SizedSeq m -> m #
foldMap :: Monoid m => (a -> m) -> SizedSeq a -> m #
foldMap' :: Monoid m => (a -> m) -> SizedSeq a -> m #
foldr :: (a -> b -> b) -> b -> SizedSeq a -> b #
foldr' :: (a -> b -> b) -> b -> SizedSeq a -> b #
foldl :: (b -> a -> b) -> b -> SizedSeq a -> b #
foldl' :: (b -> a -> b) -> b -> SizedSeq a -> b #
foldr1 :: (a -> a -> a) -> SizedSeq a -> a #
foldl1 :: (a -> a -> a) -> SizedSeq a -> a #
toList :: SizedSeq a -> [a] #
null :: SizedSeq a -> Bool #
length :: SizedSeq a -> Int #
elem :: Eq a => a -> SizedSeq a -> Bool #
maximum :: Ord a => SizedSeq a -> a #
minimum :: Ord a => SizedSeq a -> a #
sum :: Num a => SizedSeq a -> a #
product :: Num a => SizedSeq a -> a #
traverse :: Applicative f => (a -> f b) -> SizedSeq a -> f (SizedSeq b) #
sequenceA :: Applicative f => SizedSeq (f a) -> f (SizedSeq a) #
mapM :: Monad m => (a -> m b) -> SizedSeq a -> m (SizedSeq b) #
sequence :: Monad m => SizedSeq (m a) -> m (SizedSeq a) #
put :: SizedSeq a -> Put Source #
get :: Get (SizedSeq a) Source #
putList :: [SizedSeq a] -> Put Source #
rnf :: SizedSeq a -> () Source #
Associated Types
from :: SizedSeq a -> Rep (SizedSeq a) x #
to :: Rep (SizedSeq a) x -> SizedSeq a #
showsPrec :: Int -> SizedSeq a -> ShowS #
show :: SizedSeq a -> String #
showList :: [SizedSeq a] -> ShowS #
emptySS :: SizedSeq a Source #
addToSS :: SizedSeq a -> a -> SizedSeq a Source #
addListToSS :: SizedSeq a -> [a] -> SizedSeq a Source #
ssElts :: SizedSeq a -> [a] Source #
sizeSS :: SizedSeq a -> Word Source #