Mini_ml_lib.Interpretertype error = | InvalidApplicationWhen application is not valid
*)| InvalidLetWhen recursive let statement is used wrongly
*)| UnboundVariable of Ast.nameWhen provided name is not a variable
*)| TypeMismatch of stringWhen type is invalid
*)| TypesMismatch of string * stringWhen pair of types is invalid
*)Type for interpreter's error
Type for evaluation result
and env = (Ast.name * value) list * step_limitType for interpreter's enviropment
val new_env : envReturns empty enviropment with built-in functions
val new_env_limited : int -> envReturns empty enviropment with steps limit and built-in functions
val show_error : error -> stringShows error in human-readable format