16 lines
446 B
OCaml
16 lines
446 B
OCaml
type t =
|
|
| VUnit
|
|
| VInt of int
|
|
| VBool of bool
|
|
| VString of string
|
|
| VTuple of t list
|
|
| VRecord of string * (string * t) list
|
|
| VCollection of t Delta_runtime.Pure_map.t
|
|
|
|
val to_string : t -> string
|
|
val collection_of_list : (int * t) list -> t Delta_runtime.Pure_map.t
|
|
val collection_to_list : t Delta_runtime.Pure_map.t -> (int * t) list
|
|
val equal : t -> t -> bool
|
|
val field : t -> string -> t option
|
|
val is_collection : t -> bool
|