module Combine:sig
..end
This module defines the elements needed to evaluate a 'combine' expression.
type
error =
| |
Parsing_error of |
|||
| |
Invalid_operands of |
|||
| |
Invalid_function_parameters of |
|||
| |
Unknown_function of |
|||
| |
Invalid_result_kind |
|||
| |
Evaluation_error of |
|||
| |
Invalid_path of |
(* | The type of error that can occur during parsing or evaluation. | *) |
val string_of_error : error -> string
Converts the passed error into a string.
exception Exception of error
The exception raised when an error occurs during parsing or evaluation.
val eval : string -> (string, int array) Stdlib.Hashtbl.t
eval s
parses and evaluates expression s
, returning a data set.
Raises Exception
if s
cannot be parsed or evaluated.