From 8708171877054c98aad45079d85d4e699420f2fe Mon Sep 17 00:00:00 2001 From: Sébastien Dailly Date: Thu, 19 Nov 2026 11:32:16 +0100 Subject: Added fields in lists --- lib/model/reference.mli | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'lib/model/reference.mli') diff --git a/lib/model/reference.mli b/lib/model/reference.mli index 63acf6c..2f9659b 100644 --- a/lib/model/reference.mli +++ b/lib/model/reference.mli @@ -1,4 +1,10 @@ type t -val v : (unit -> t Typ.target Content.t) -> t -val get : t -> t Typ.target Content.t +and target = + | Content of t + | List of target Data_list.t + (** The target of a reference field: a content (through the lazy pointer) + or a static list *) + +val v : (unit -> target Content.t) -> t +val get : t -> target Content.t -- cgit v1.2.3