module Value:sig
..end
(Mutable) values used in Pinterp
typefloat_mode =
Mlmpfr_wrapper.mpfr_rnd_t
typebig_float =
Mlmpfr_wrapper.mpfr_float
type
value = private {
|
v_desc : |
|
v_ty : |
}
type
field
type
value_desc =
| |
Vconstr of |
(* | A constructor value (record or variant). The first argument is optional to handle records without constructors (e.g. when a type has an invariant, the constructor is not available to avoid creating an object that does not respect the invariant). | *) |
| |
Vnum of |
(* | Any integer number | *) |
| |
Vreal of |
|||
| |
Vfloat_mode of |
|||
| |
Vfloat of |
|||
| |
Vstring of |
|||
| |
Vbool of |
|||
| |
Vproj of |
(* | TODO/FIXME Was used to represent a model projection originating
from a meta | *) |
| |
Varray of |
(* | An array created in code | *) |
| |
Vpurefun of |
(* | TODO/FIXME Was used to represent arrays from the prover model. Currently, arrays are now handled using Vterm t with t a lambda term corresponding to the function defining the mapping of array elements. | *) |
| |
Vfun of |
(* | A function value | *) |
| |
Vterm of |
(* | The result of a pure expression | *) |
| |
Vundefined |
(* | An undefined value; unreducible | *) |