diff options
| author | Sébastien Dailly <sebastien@dailly.me> | 2026-11-19 11:32:16 +0100 |
|---|---|---|
| committer | Sébastien Dailly <sebastien@dailly.me> | 2026-11-19 11:32:16 +0100 |
| commit | 8708171877054c98aad45079d85d4e699420f2fe (patch) | |
| tree | 2e580e6891708b7b70d07f7bec03bd0a76ae171b /lib/model/reference.mli | |
| parent | e1bf7686f408b52a870d4ed4f3c565dbbcc3954f (diff) | |
Added fields in lists
Diffstat (limited to 'lib/model/reference.mli')
| -rw-r--r-- | lib/model/reference.mli | 10 |
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 |
