Safe Haskell | None |
---|---|
Language | Haskell2010 |
- newtype RGA a = RGA [(VertexId, a)]
- fromList :: Clock m => [a] -> m (RGA a)
- toList :: AsEmpty a => RGA a -> [a]
- edit :: (Eq a, AsEmpty a, Clock m) => [a] -> RGA a -> m (RGA a)
- type RgaString = RGA Char
- fromString :: Clock m => String -> m RgaString
- toString :: RgaString -> String
- type RgaPacked a = [(VertexId, [a])]
- pack :: RGA a -> RgaPacked a
- unpack :: RgaPacked a -> RGA a
Documentation
TODO(cblp, 2018-02-06) Vector.Unboxed
RGA [(VertexId, a)] |
edit :: (Eq a, AsEmpty a, Clock m) => [a] -> RGA a -> m (RGA a) Source #
Replace content with specified, applying changed found by the diff algorithm