strict-containers-0.1: Strict containers.
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Strict.Sequence.Internal

Orphan instances

FunctorWithIndex Int Seq Source #

The position in the Seq is available as the index.

Instance details

Methods

imap :: (Int -> a -> b) -> Seq a -> Seq b #

FoldableWithIndex Int Seq Source # 
Instance details

Methods

ifoldMap :: Monoid m => (Int -> a -> m) -> Seq a -> m #

ifoldMap' :: Monoid m => (Int -> a -> m) -> Seq a -> m #

ifoldr :: (Int -> a -> b -> b) -> b -> Seq a -> b #

ifoldl :: (Int -> b -> a -> b) -> b -> Seq a -> b #

ifoldr' :: (Int -> a -> b -> b) -> b -> Seq a -> b #

ifoldl' :: (Int -> b -> a -> b) -> b -> Seq a -> b #

TraversableWithIndex Int Seq Source # 
Instance details

Methods

itraverse :: Applicative f => (Int -> a -> f b) -> Seq a -> f (Seq b) #

Binary e => Binary (Seq e) Source # 
Instance details

Methods

put :: Seq e -> Put #

get :: Get (Seq e) #

putList :: [Seq e] -> Put #

Strict (Seq k) (Seq k) Source # 
Instance details

Methods

toStrict :: Seq0 k -> Seq k #

toLazy :: Seq k -> Seq0 k #