Safe Haskell | None |
---|---|
Language | Haskell2010 |
- data Seq a :: * -> *
- insert :: Int -> Seq a -> DefaultChange (Seq a)
- delete :: Int -> Int -> DefaultChange (Seq a)
- shift :: Int -> Int -> Int -> DefaultChange (Seq a)
- changeAt :: Int -> DefaultChange a -> DefaultChange (Seq a)
- data AtomicChange a
- normalizeAtomicChange :: Int -> AtomicChange a -> AtomicChange a
- singleton :: Changeable a => a ->> Seq a
- fromPair :: Changeable a => (a, a) ->> Seq a
- cat :: Changeable a => (Seq a, Seq a) ->> Seq a
- null :: Changeable a => Seq a ->> Bool
- length :: Changeable a => Seq a ->> Int
- map :: (Changeable a, Changeable b) => (a ->> b) -> Seq a ->> Seq b
- map' :: (Changeable a, DefaultChange a ~ PrimitiveChange a, Changeable b, DefaultChange b ~ PrimitiveChange b) => (a -> b) -> Seq a ->> Seq b
- concat :: Changeable a => Seq (Seq a) ->> Seq a
- concatMap :: (Changeable a, Changeable b) => (a ->> Seq b) -> Seq a ->> Seq b
- gate :: Changeable a => (a ->> Bool) -> a ->> Seq a
- gate' :: (Changeable a, DefaultChange a ~ PrimitiveChange a) => (a -> Bool) -> a ->> Seq a
- filter :: Changeable a => (a ->> Bool) -> Seq a ->> Seq a
- filter' :: (Changeable a, DefaultChange a ~ PrimitiveChange a) => (a -> Bool) -> Seq a ->> Seq a
- reverse :: Changeable a => Seq a ->> Seq a
- sort :: (Ord a, Changeable a) => Seq a ->> Seq a
- sortBy :: Changeable a => (a -> a -> Ordering) -> Seq a ->> Seq a
Type
General-purpose finite sequences.
Monad Seq | |
Functor Seq | |
Applicative Seq | |
Foldable Seq | |
Traversable Seq | |
Alternative Seq | |
MonadPlus Seq | |
IsList (Seq a) | |
Eq a => Eq (Seq a) | |
Data a => Data (Seq a) | |
Ord a => Ord (Seq a) | |
Read a => Read (Seq a) | |
Show a => Show (Seq a) | |
IsString (Seq Char) | |
Semigroup (Seq a) | |
Monoid (Seq a) | |
NFData a => NFData (Seq a) | |
type Item (Seq a) | |
type DefaultChange (Seq a) Source # | |
Changes
changeAt :: Int -> DefaultChange a -> DefaultChange (Seq a) Source #
Atomic changes
data AtomicChange a Source #
Changeable a => Change (AtomicChange a) Source # | |
type Value (AtomicChange a) Source # | |
normalizeAtomicChange :: Int -> AtomicChange a -> AtomicChange a Source #
Transformations
map :: (Changeable a, Changeable b) => (a ->> b) -> Seq a ->> Seq b Source #
map' :: (Changeable a, DefaultChange a ~ PrimitiveChange a, Changeable b, DefaultChange b ~ PrimitiveChange b) => (a -> b) -> Seq a ->> Seq b Source #
concatMap :: (Changeable a, Changeable b) => (a ->> Seq b) -> Seq a ->> Seq b Source #
gate' :: (Changeable a, DefaultChange a ~ PrimitiveChange a) => (a -> Bool) -> a ->> Seq a Source #
filter' :: (Changeable a, DefaultChange a ~ PrimitiveChange a) => (a -> Bool) -> Seq a ->> Seq a Source #
Orphan instances
Changeable a => Changeable (Seq a) Source # | |