Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Documentation
class Storable (Component a) => Mergeable a where Source #
mergeSorted :: [Stored (Component a)] -> a Source #
toComponents :: a -> [Stored (Component a)] Source #
Instances
Mergeable ChatroomState Source # | |
Defined in Erebos.Chatroom type Component ChatroomState Source # mergeSorted :: [Stored (Component ChatroomState)] -> ChatroomState Source # toComponents :: ChatroomState -> [Stored (Component ChatroomState)] Source # | |
Mergeable Contact Source # | |
Mergeable DirectMessageThreads Source # | |
Defined in Erebos.Message | |
Mergeable a => Mergeable (Set a) Source # | |
Mergeable (Maybe ComposedIdentity) Source # | |
Defined in Erebos.Identity type Component (Maybe ComposedIdentity) Source # mergeSorted :: [Stored (Component (Maybe ComposedIdentity))] -> Maybe ComposedIdentity Source # toComponents :: Maybe ComposedIdentity -> [Stored (Component (Maybe ComposedIdentity))] Source # | |
Mergeable [Stored Object] Source # | |
data Generation Source #
Instances
Show Generation Source # | |
Defined in Erebos.Storage.Internal showsPrec :: Int -> Generation -> ShowS # show :: Generation -> String # showList :: [Generation] -> ShowS # | |
Eq Generation Source # | |
Defined in Erebos.Storage.Internal (==) :: Generation -> Generation -> Bool # (/=) :: Generation -> Generation -> Bool # |
showGeneration :: Generation -> String Source #
compareGeneration :: Generation -> Generation -> Maybe Ordering Source #
storedGeneration :: Storable a => Stored a -> Generation Source #