Safe Haskell | Safe |
---|---|
Language | Haskell2010 |
Documentation
Useful DeltaOf
for data that doesn't change, and for changes
that will be ignored.
The Maybe
type for Deltas. Useful for signaling that there is
some change within a data structure. This is recognized by the
generically derived delta methods, such that a construction with all
Unchanged
fields will yield an Unchanged
data.
Instances
Functor Change Source # | |
Applicative Change Source # | |
Foldable Change Source # | |
Defined in HKD.Delta.Type fold :: Monoid m => Change m -> m # foldMap :: Monoid m => (a -> m) -> Change a -> m # foldr :: (a -> b -> b) -> b -> Change a -> b # foldr' :: (a -> b -> b) -> b -> Change a -> b # foldl :: (b -> a -> b) -> b -> Change a -> b # foldl' :: (b -> a -> b) -> b -> Change a -> b # foldr1 :: (a -> a -> a) -> Change a -> a # foldl1 :: (a -> a -> a) -> Change a -> a # elem :: Eq a => a -> Change a -> Bool # maximum :: Ord a => Change a -> a # minimum :: Ord a => Change a -> a # | |
Traversable Change Source # | |
Show a => Show (Change a) Source # | |
Semigroup a => Semigroup (Change a) Source # | |
Semigroup a => Monoid (Change a) Source # | |
Either
for deltas. Used to signal that the delta is a full replacement
or just an update.