From a9628fda0fc027c54b5ed5313a0c41731d79e41f Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 19 Nov 2026 08:47:29 +0100 Subject: Create all the datatypes in a single time. Use aliases for the type name for clarification --- lib/query/intf.ml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'lib/query/intf.ml') 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] -- cgit v1.2.3