3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-02-18 06:34:22 +00:00

Add datatype_update_field to C++, Python, TypeScript, and OCaml bindings

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-02-04 21:57:57 +00:00
parent d9bb80cf89
commit ac39c021bf
5 changed files with 61 additions and 0 deletions

View file

@ -1130,6 +1130,12 @@ sig
(** The constructor accessors. *)
val get_accessors : Sort.sort -> FuncDecl.func_decl list list
(** Update a datatype field at expression [t] with value [v].
The function performs a record update at [t]. The field
that is passed in as argument is updated with value [v],
the remaining fields of [t] are unchanged. *)
val update_field : context -> FuncDecl.func_decl -> Expr.expr -> Expr.expr -> Expr.expr
end
(** Functions to manipulate Enumeration expressions *)