summaryrefslogtreecommitdiff
path: root/lib/model/reference.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/model/reference.mli')
-rw-r--r--lib/model/reference.mli10
1 files changed, 8 insertions, 2 deletions
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