strict-containers-lens-0.1: Strict containers - Lens instances
Safe HaskellSafe-Inferred
LanguageHaskell2010

Data.Strict.Sequence.Lens

Synopsis

Documentation

viewL :: Iso (Seq a) (Seq b) (ViewL a) (ViewL b) Source #

Analogous to viewL.

viewR :: Iso (Seq a) (Seq b) (ViewR a) (ViewR b) Source #

Analogous to viewR.

sliced :: Int -> Int -> IndexedTraversal' Int (Seq a) a Source #

Analogous to sliced.

seqOf :: Getting (Seq a) s a -> s -> Seq a Source #

Analogous to seqOf.

Orphan instances

Ixed (Seq a) Source # 
Instance details

Methods

ix :: Index (Seq a) -> Traversal' (Seq a) (IxValue (Seq a)) #

Wrapped (Seq a) Source # 
Instance details

Associated Types

type Unwrapped (Seq a) #

Methods

_Wrapped' :: Iso' (Seq a) (Unwrapped (Seq a)) #

AsEmpty (Seq a) Source # 
Instance details

Methods

_Empty :: Prism' (Seq a) () #

Reversing (Seq a) Source # 
Instance details

Methods

reversing :: Seq a -> Seq a #

t ~ Seq a' => Rewrapped (Seq a) t Source # 
Instance details

Each (Seq a) (Seq b) a b Source # 
Instance details

Methods

each :: Traversal (Seq a) (Seq b) a b #

Cons (Seq a) (Seq b) a b Source # 
Instance details

Methods

_Cons :: Prism (Seq a) (Seq b) (a, Seq a) (b, Seq b) #

Snoc (Seq a) (Seq b) a b Source # 
Instance details

Methods

_Snoc :: Prism (Seq a) (Seq b) (Seq a, a) (Seq b, b) #