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