crdt-0.5: Conflict-free replicated data types
CRDT.GCounter.Cv.Internal
Synopsis
newtype GCounter a Source #
Grow-only counter.
Constructors
Instances
Methods
(==) :: GCounter a -> GCounter a -> Bool #
(/=) :: GCounter a -> GCounter a -> Bool #
showsPrec :: Int -> GCounter a -> ShowS #
show :: GCounter a -> String #
showList :: [GCounter a] -> ShowS #
(<>) :: GCounter a -> GCounter a -> GCounter a #
sconcat :: NonEmpty (GCounter a) -> GCounter a #
stimes :: Integral b => b -> GCounter a -> GCounter a #