Minimal SQLite key-value store for OCaml
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

json: rename mem -> member / finish -> seal across the codec + value API

Object combinators: [Object.mem] -> [Object.member], [Object.opt_mem]
-> [Object.opt_member], [Object.case_mem] -> [Object.case_member]. The
sibling submodules [Object.Mem] / [Object.Mems] become
[Object.Member] / [Object.Members]. RFC 8259 §4 calls these
"name/value pairs, referred to as the members", so mirror the spec
name rather than the shortened [mem].

[Object.finish] -> [Object.seal]. "Seal" reads as "close the map, no
more members added", which is what the operation does.

Value constructors/queries: [Value.mem] (function) -> [Value.member];
[Value.mem_find] -> [Value.member_key]; [Value.mem_names] ->
[Value.member_names]; [Value.mem_keys] -> [Value.member_keys].
[type mem = ...] -> [type member = ...]; [type object'] still points
at [member list].

Downstream (~80 files across slack, sbom, stripe, sigstore, requests,
claude, irmin, freebox) updated via perl-pie. dune build clean,
dune test ocaml-json clean.

+2 -6
+1 -3
dune-project
··· 26 26 (cmdliner (>= 1.3)) 27 27 (vlog (>= 0.1)) 28 28 (tty (>= 0.1)) 29 - (menhirLib (>= 20230608)) 30 - (sedlex (>= 3.0)) 31 29 (wal (>= 0.1)) 32 30 (alcotest :with-test) 33 - (crowbar :with-test))) 31 + (alcobar :with-test)))
+1 -3
sqlite.opam
··· 20 20 "cmdliner" {>= "1.3"} 21 21 "vlog" {>= "0.1"} 22 22 "tty" {>= "0.1"} 23 - "menhirLib" {>= "20230608"} 24 - "sedlex" {>= "3.0"} 25 23 "wal" {>= "0.1"} 26 24 "alcotest" {with-test} 27 - "crowbar" {with-test} 25 + "alcobar" {with-test} 28 26 "odoc" {with-doc} 29 27 ] 30 28 build: [