summaryrefslogtreecommitdiff
path: root/lib/model/reference.mli
blob: 09f70c56c5d13b28f1326f8506ccd72619d7300d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
type 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

val of_content : target Content.t -> target
(** Reify an already resolved content as a {!target} *)