crdt-9.3: Conflict-free replicated data types

Safe HaskellNone
LanguageHaskell2010

CRDT.Cv.ORSet

Documentation

newtype ORSet a Source #

Constructors

ORSet (Map a (Map Tag Bool)) 

Instances

Eq a => Eq (ORSet a) Source # 

Methods

(==) :: ORSet a -> ORSet a -> Bool #

(/=) :: ORSet a -> ORSet a -> Bool #

Show a => Show (ORSet a) Source # 

Methods

showsPrec :: Int -> ORSet a -> ShowS #

show :: ORSet a -> String #

showList :: [ORSet a] -> ShowS #

Ord a => Semigroup (ORSet a) Source # 

Methods

(<>) :: ORSet a -> ORSet a -> ORSet a #

sconcat :: NonEmpty (ORSet a) -> ORSet a #

stimes :: Integral b => b -> ORSet a -> ORSet a #

Ord a => Semilattice (ORSet a) Source # 

add :: (Ord a, Process m) => a -> ORSet a -> m (ORSet a) Source #

remove :: Ord a => a -> ORSet a -> ORSet a Source #

lookup :: Ord a => a -> ORSet a -> Bool Source #