From bc78bea63b7c75e8a9d222dc86fb75ed293a2242 Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Sat, 21 Nov 2026 12:22:50 +0100 Subject: Renamed the module Typ into Types --- lib/model/data.ml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lib/model/data.ml') 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] -- cgit v1.2.3