[SOLVED] CS type const = True | False | Int of int

$25

File Name: CS_type_const_=_True_|_False_|_Int_of_int.zip
File Size: 386.22 KB

5/5 - (1 vote)

type const = True | False | Int of int
type var = string
type op = Plus | Minus | Times | Div | Lt | Gt | Le | Ge | Eq | And | Or
type value = Const of const
| Fun of var * exp
| Op of op
and exp = Var of var
| Value of value
| Let of var * exp * exp
| If of exp * exp * exp
| App of exp * exp

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[SOLVED] CS type const = True | False | Int of int
$25