Copyright | © 2021-2023 IOHK 2024 Cardano Foundation |
---|---|
License | Apache-2.0 |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Data.Delta.List
Description
Delta types for lists.
Documentation
Delta type for lists where a list of elements is prepended.
Constructors
Append [a] |
Instances
Ord a => Monoid (DeltaList a) Source # | |
Ord a => Semigroup (DeltaList a) Source # | Remember that the semigroup instance is required to satisfy the following properties: apply mempty = id apply (d1 <> d2) = apply d1 . apply d2 |
Show a => Show (DeltaList a) Source # | |
Delta (DeltaList a) Source # | apply (Append xs) ys = xs ++ ys |
Eq a => Eq (DeltaList a) Source # | |
Ord a => Ord (DeltaList a) Source # | |
Defined in Data.Delta.List | |
type Base (DeltaList a) Source # | |
Defined in Data.Delta.List |