| Safe Haskell | Safe |
|---|---|
| Language | Haskell2010 |
CRDT.LWW
Documentation
Instances
| Eq (LWW a) Source # | |
| Ord (LWW a) Source # | |
| Show a => Show (LWW a) Source # | |
| Semigroup (LWW a) Source # | Merge by choosing more recent timestamp. |
| Semilattice (LWW a) Source # | |
| Eq a => CmRDT (LWW a) Source # | |
| CausalOrd (LWW a) Source # | |
| type Op (LWW a) Source # | |
| type Payload (LWW a) Source # | |
| type View (LWW a) Source # | |
CvRDT
assign :: Clock f => a -> LWW a -> f (LWW a) Source #
Change state as CvRDT operation. Current value is ignored, because new timestamp is always greater.