summaryrefslogtreecommitdiff
path: root/lib/query/intf.ml
diff options
context:
space:
mode:
authorSébastien Dailly <sebastien@dailly.me>2026-11-19 08:47:29 +0100
committerSébastien Dailly <sebastien@dailly.me>2026-11-19 08:47:29 +0100
commita9628fda0fc027c54b5ed5313a0c41731d79e41f (patch)
tree9240bc709d0f93336b20fb3d6b3b6cb2e8a35423 /lib/query/intf.ml
parent36e895119c80d52e0d3a3695a3cf3d93e41bcd3e (diff)
Create all the datatypes in a single time.
Use aliases for the type name for clarification
Diffstat (limited to 'lib/query/intf.ml')
-rw-r--r--lib/query/intf.ml5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/query/intf.ml b/lib/query/intf.ml
index 8c7ead5..45fec11 100644
--- a/lib/query/intf.ml
+++ b/lib/query/intf.ml
@@ -1,7 +1,4 @@
-type 'a data = {
- name : Model.Identifier.t;
- content_type : ('a, Model.Reference.t) Model.Typ.t;
-}
+type 'a data = { name : Model.Identifier.t; content_type : 'a Model.typ }
(** The data is the name of the field and the type associated with *)
type t_type = TT : 'a data -> t_type [@@unboxed]