ron-storage: RON Storage

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

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

Typical usage:

import RON.Data
import RON.Schema.TH
import RON.Storage.FS 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
Versions [faq] 0.5, 0.6, 0.7
Change log CHANGELOG.md
Dependencies base (>=4.10 && <4.13), bytestring, containers, directory, filepath, integer-gmp, mtl, network-info, ron, ron-rdt, stm, text, transformers [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 Thu Apr 25 16:58:49 UTC 2019
Distributions NixOS:0.7
Downloads 200 total (29 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-04-25 [all 1 reports]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

For package maintainers and hackage trustees