- filterMin :: (a -> Bool) -> Seq a -> Maybe a
- maybeIndex :: Seq a -> Int -> Maybe a
- insertAt :: Int -> a -> Seq a -> Seq a
- deleteAt :: Int -> Seq a -> Seq a
- swap :: Int -> Int -> Seq a -> Seq a
- deleteMatch :: (a -> Bool) -> Seq a -> Seq a
- tryReplace :: (a -> Bool) -> a -> Seq a -> Seq a
- replaceOrAdd :: (a -> Bool) -> a -> Seq a -> Seq a

# Documentation

maybeIndex :: Seq a -> Int -> Maybe aSource

Maybe index.

deleteMatch :: (a -> Bool) -> Seq a -> Seq aSource

Delete match element in sequence.

tryReplace :: (a -> Bool) -> a -> Seq a -> Seq aSource

Replace element if found match.

replaceOrAdd :: (a -> Bool) -> a -> Seq a -> Seq aSource

Replace or add.