ron-rdt: Replicated Data Types (RON-RDT)

[ bsd3, database, distributed-systems, library, protocol ] [ Propose Tags ] [ Report a vulnerability ]

Replicated Object Notation (RON), data types (RDT), and RON-Schema

Typical usage:

import RON.Data
import RON.Schema.TH
import RON.Storage.IO as Storage

[mkReplicated|
    (struct_lww Note
        active Boole
        text RgaString)
|]

instance Collection Note where
    collectionName = "note"

main :: IO ()
main = do
    let dataDir = "./data/"
    h <- Storage.newHandle dataDir
    runStorage h $ do
        obj <- newObject
            Note{active = True, text = "Write a task manager"}
        createDocument obj

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.5, 0.6, 0.7, 0.8, 0.9, 0.9.1, 0.10
Dependencies base (>=4.10 && <4.13), containers, Diff, hashable, integer-gmp, mtl, ron, text, time, transformers, unordered-containers [details]
License BSD-3-Clause
Copyright 2018-2019 Yuriy Syrovetskiy
Author
Maintainer Yuriy Syrovetskiy <haskell@cblp.su>
Category Distributed Systems, Protocol, Database
Home page https://github.com/ff-notes/ron
Bug tracker https://github.com/ff-notes/ron/issues
Uploaded by cblp at 2019-02-05T14:42:29Z
Distributions
Reverse Dependencies 2 direct, 0 indirect [details]
Downloads 2725 total (15 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2019-02-05 [all 1 reports]