crjdt-haskell-0.2.1: A Conflict-Free Replicated JSON Datatype for Haskell

Safe HaskellNone
LanguageHaskell2010

Data.Crjdt.Context

Documentation

data Cursor Source #

Constructors

Cursor 

Fields

Instances

data Tag Source #

Constructors

MapT 
ListT 
RegT 

Instances

Eq Tag Source # 

Methods

(==) :: Tag -> Tag -> Bool #

(/=) :: Tag -> Tag -> Bool #

Ord Tag Source # 

Methods

compare :: Tag -> Tag -> Ordering #

(<) :: Tag -> Tag -> Bool #

(<=) :: Tag -> Tag -> Bool #

(>) :: Tag -> Tag -> Bool #

(>=) :: Tag -> Tag -> Bool #

max :: Tag -> Tag -> Tag #

min :: Tag -> Tag -> Tag #

Show Tag Source # 

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

data Document tag Source #

Instances

Eq tag => Eq (Document tag) Source # 

Methods

(==) :: Document tag -> Document tag -> Bool #

(/=) :: Document tag -> Document tag -> Bool #

Show tag => Show (Document tag) Source # 

Methods

showsPrec :: Int -> Document tag -> ShowS #

show :: Document tag -> String #

showList :: [Document tag] -> ShowS #

data Branch tag Source #

Constructors

Branch 

Fields

Instances

Eq tag => Eq (Branch tag) Source # 

Methods

(==) :: Branch tag -> Branch tag -> Bool #

(/=) :: Branch tag -> Branch tag -> Bool #

Show tag => Show (Branch tag) Source # 

Methods

showsPrec :: Int -> Branch tag -> ShowS #

show :: Branch tag -> String #

showList :: [Branch tag] -> ShowS #