genvalidity-mergeful-0.2.0.0

Safe HaskellNone
LanguageHaskell2010

Data.GenValidity.Mergeful.Collection

Contents

Documentation

splitSet :: Ord i => Set i -> Gen (Set i, Set i) Source #

mapWithIds :: (Ord i, GenValid a) => Set i -> Gen (Map i a) Source #

Orphan instances

GenUnchecked ClientId Source # 
Instance details

GenValid ClientId Source # 
Instance details

GenUnchecked si => GenUnchecked (ClientAddition si) Source # 
Instance details

GenValid si => GenValid (ClientAddition si) Source # 
Instance details

(GenUnchecked si, Ord si, GenUnchecked a) => GenUnchecked (ServerStore si a) Source # 
Instance details

(GenValid si, Show si, Ord si, GenValid a) => GenValid (ServerStore si a) Source # 
Instance details

Methods

genValid :: Gen (ServerStore si a) #

shrinkValid :: ServerStore si a -> [ServerStore si a] #

(GenUnchecked ci, GenUnchecked si, Ord ci, Ord si, GenUnchecked a) => GenUnchecked (ClientStore ci si a) Source # 
Instance details

Methods

genUnchecked :: Gen (ClientStore ci si a) #

shrinkUnchecked :: ClientStore ci si a -> [ClientStore ci si a] #

(GenUnchecked ci, GenUnchecked si, Ord ci, Ord si, GenUnchecked a) => GenUnchecked (SyncRequest ci si a) Source # 
Instance details

Methods

genUnchecked :: Gen (SyncRequest ci si a) #

shrinkUnchecked :: SyncRequest ci si a -> [SyncRequest ci si a] #

(GenUnchecked ci, GenUnchecked si, Ord ci, Ord si, GenUnchecked a) => GenUnchecked (SyncResponse ci si a) Source # 
Instance details

Methods

genUnchecked :: Gen (SyncResponse ci si a) #

shrinkUnchecked :: SyncResponse ci si a -> [SyncResponse ci si a] #

(GenValid ci, GenValid si, Show ci, Show si, Ord ci, Ord si, GenValid a) => GenValid (ClientStore ci si a) Source # 
Instance details

Methods

genValid :: Gen (ClientStore ci si a) #

shrinkValid :: ClientStore ci si a -> [ClientStore ci si a] #

(GenValid ci, GenValid si, Show ci, Show si, Ord ci, Ord si, GenValid a) => GenValid (SyncRequest ci si a) Source # 
Instance details

Methods

genValid :: Gen (SyncRequest ci si a) #

shrinkValid :: SyncRequest ci si a -> [SyncRequest ci si a] #

(GenValid ci, GenValid si, Show ci, Show si, Ord ci, Ord si, GenValid a) => GenValid (SyncResponse ci si a) Source # 
Instance details

Methods

genValid :: Gen (SyncResponse ci si a) #

shrinkValid :: SyncResponse ci si a -> [SyncResponse ci si a] #