summaryrefslogtreecommitdiff
path: root/lib/model/data.ml
diff options
context:
space:
mode:
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]