summaryrefslogtreecommitdiff
path: root/lib/model/data.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-11-21 12:22:50 +0100
committerSébastien Dailly <sebastien@dailly.me>2026-11-21 12:22:50 +0100
commitbc78bea63b7c75e8a9d222dc86fb75ed293a2242 (patch)
tree6c864df4d57200c20c7f712ada20a6111ca31538 /lib/model/data.ml
parent9f2a57603dbfce428af36e82fb1c7cdc6e1ad0da (diff)
Renamed the module Typ into Types
Diffstat (limited to 'lib/model/data.ml')
-rw-r--r--lib/model/data.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/model/data.ml b/lib/model/data.ml
index 9c44203..2d00c4e 100644
--- a/lib/model/data.ml
+++ b/lib/model/data.ml
@@ -8,15 +8,15 @@
representation of the field, e.g. [string option] or [int64 option]) and
over ['t], the target of the field for references — a reference is held as
an [int64] (the id of the target row), while ['t] records what it points to.
- The field type {!Typ.t} stays in the model package; only the data itself
+ The field type {!Types.t} stays in the model package; only the data itself
lives here. *)
type ('ocaml, 't) data =
| None
- | V : ('db, 'ocaml, 't) Typ.t * 'ocaml -> ('ocaml, 't) data
+ | V : ('db, 'ocaml, 't) Types.t * 'ocaml -> ('ocaml, 't) data
let none : ('ocaml, 't) data = None
-let v : ('db, 'ocaml, 't) Typ.t * 'ocaml -> ('ocaml, 't) data =
+let v : ('db, 'ocaml, 't) Types.t * 'ocaml -> ('ocaml, 't) data =
fun (typ, value) -> V (typ, value)
type 't any = Any : ('ocaml, 't) data -> 't any [@@unboxed]