crdt-10.1: Conflict-free replicated data types
CRDT.Cv.ORSet
newtype ORSet a Source #
Constructors
Instances
Methods
(==) :: ORSet a -> ORSet a -> Bool #
(/=) :: ORSet a -> ORSet a -> Bool #
showsPrec :: Int -> ORSet a -> ShowS #
show :: ORSet a -> String #
showList :: [ORSet a] -> ShowS #
(<>) :: ORSet a -> ORSet a -> ORSet a #
sconcat :: NonEmpty (ORSet a) -> ORSet a #
stimes :: Integral b => b -> ORSet a -> ORSet a #
add :: (Ord a, Process m) => a -> ORSet a -> m (ORSet a) Source #
initial :: ORSet a Source #
remove :: Ord a => a -> ORSet a -> ORSet a Source #
lookup :: Ord a => a -> ORSet a -> Bool Source #