crdt-1.0: Conflict-free replicated data types
CRDT.Cm.GSet
Contents
Synopsis
type GSet = Set Source #
Grow-only set
newtype Add a Source #
Constructors
Instances
Methods
(==) :: Add a -> Add a -> Bool #
(/=) :: Add a -> Add a -> Bool #
showsPrec :: Int -> Add a -> ShowS #
show :: Add a -> String #
showList :: [Add a] -> ShowS #
leq :: Add a -> Add a -> Bool #
comparable :: Add a -> Add a -> Bool #
updateAtSourcePre :: Add a -> Set a -> Bool Source #
updateAtSource :: Clock m => Add a -> m (Add a) Source #
updateDownstream :: Add a -> Set a -> Set a Source #
initial :: GSet a Source #
lookup :: Ord a => a -> GSet a -> Bool Source #
query lookup
Associated Types
type Observed (GSet a) :: Type Source #
observe :: GSet a -> Observed (GSet a) Source #