Evaluate typed queries over persistent maps

This commit is contained in:
milner committed 2017-02-17 18:21:00 +00:00
1 parent b44640692c
commit 35d9cebcc3
9 files changed
+464 -2

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
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