module Combine:sig
..end
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
exception Exception of error
val eval : string -> (string, int array) Hashtbl.t
eval s
parses and evaluates expression s
, returning a data set.
Raises Exception
if s
cannot be parsed or evaluated.