ghci-8.0.2: The library supporting GHC's interactive interpreter

SizedSeq

data SizedSeq a #

Constructors

Instances

Methods

fmap :: (a -> b) -> SizedSeq a -> SizedSeq b Source #

(<$) :: a -> SizedSeq b -> SizedSeq a Source #

fold :: Monoid m => SizedSeq m -> m Source #

foldMap :: Monoid m => (a -> m) -> SizedSeq a -> m Source #

foldr :: (a -> b -> b) -> b -> SizedSeq a -> b Source #

foldr' :: (a -> b -> b) -> b -> SizedSeq a -> b Source #

foldl :: (b -> a -> b) -> b -> SizedSeq a -> b Source #

foldl' :: (b -> a -> b) -> b -> SizedSeq a -> b Source #

foldr1 :: (a -> a -> a) -> SizedSeq a -> a Source #

foldl1 :: (a -> a -> a) -> SizedSeq a -> a Source #

toList :: SizedSeq a -> [a] Source #

null :: SizedSeq a -> Bool Source #

length :: SizedSeq a -> Int Source #

elem :: Eq a => a -> SizedSeq a -> Bool Source #

maximum :: Ord a => SizedSeq a -> a Source #

minimum :: Ord a => SizedSeq a -> a Source #

sum :: Num a => SizedSeq a -> a Source #

product :: Num a => SizedSeq a -> a Source #

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

sequenceA :: Applicative f => SizedSeq (f a) -> f (SizedSeq a) Source #

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

sequence :: Monad m => SizedSeq (m a) -> m (SizedSeq a) Source #

showsPrec :: Int -> SizedSeq a -> ShowS Source #

show :: SizedSeq a -> String Source #

showList :: [SizedSeq a] -> ShowS Source #

Associated Types

type Rep (SizedSeq a) :: * -> * Source #

from :: SizedSeq a -> Rep (SizedSeq a) x Source #

to :: Rep (SizedSeq a) x -> SizedSeq a Source #

put :: SizedSeq a -> Put Source #

get :: Get (SizedSeq a) Source #

putList :: [SizedSeq a] -> Put Source #

rnf :: SizedSeq a -> () Source #

emptySS :: SizedSeq a #

addToSS :: SizedSeq a -> a -> SizedSeq a #

addListToSS :: SizedSeq a -> [a] -> SizedSeq a #

ssElts :: SizedSeq a -> [a] #

sizeSS :: SizedSeq a -> Word #