diff options
author | Sébastien Dailly <sebastien@chimrod.com> | 2017-10-31 16:07:04 +0100 |
---|---|---|
committer | Sébastien Dailly <sebastien@chimrod.com> | 2017-10-31 16:07:04 +0100 |
commit | ab721136f50914a21f6cca89f0fcfb055ba58cd2 (patch) | |
tree | 60f788e3e8733a6d3606e801bc21a24e419e070e /expression.mli | |
parent | db627ca2cfc745bbf2e489251e64054ab2b3bff9 (diff) | |
parent | d8ed0babfa1c03c8f1968443a465972bb3bf460c (diff) |
Update ScTypes.types with types used in evaluator
Diffstat (limited to 'expression.mli')
-rwxr-xr-x | expression.mli | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/expression.mli b/expression.mli index e54d2a0..8cab479 100755 --- a/expression.mli +++ b/expression.mli @@ -1,7 +1,7 @@ type t =
- | Basic of ScTypes.types (** A direct type *)
- | Formula of formula (** A formula *)
- | Undefined (** The content is not defined *)
+ | Basic: 'a ScTypes.types -> t (** A direct type *)
+ | Formula: formula -> t (** A formula *)
+ | Undefined: t (** The content is not defined *)
and formula =
| Expression of ScTypes.expression (** A valid expression *)
@@ -16,7 +16,7 @@ val load_expr: t -> t val is_defined: t -> bool
(** Evaluate the expression *)
-val eval: t -> (ScTypes.refs -> ScTypes.types option ScTypes.Refs.range) -> ScTypes.result
+val eval: t -> (ScTypes.refs -> ScTypes.result option ScTypes.Refs.range) -> ScTypes.result
(** Collect all the cell referenced in the expression *)
val collect_sources: t -> Cell.Set.t
|