X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?a=blobdiff_plain;f=code%2Fcalculator%2Fcalc6.ml;h=381e543f9f11d72965978455e903ff488b04cc3c;hb=bd90f2eb8b87c2f44169fe209c5e35dd113c3d21;hp=f0154f2d9ead67cea788425bfc356f74c91ea14d;hpb=12c7bba12e14ab2e1ea72a4b95f1aee0c114a188;p=lambda.git diff --git a/code/calculator/calc6.ml b/code/calculator/calc6.ml index f0154f2d..381e543f 100644 --- a/code/calculator/calc6.ml +++ b/code/calculator/calc6.ml @@ -1,20 +1,20 @@ (* calc3.ml, enhanced with Mutable Variables *) type term = - Intconstant of int - | Multiplication of (term * term) - | Addition of (term * term) - | Variable of char - | Let of (char * term * term) - | Iszero of term - | If of (term * term * term) - | Makepair of (term * term) - | First of term - | Lambda of (char * term) - | Apply of (term * term) - | Letrec of (char * term * term) - | Change of (char * term * term) - ;; + Intconstant of int + | Multiplication of (term * term) + | Addition of (term * term) + | Variable of char + | Let of (char * term * term) + | Iszero of term + | If of (term * term * term) + | Makepair of (term * term) + | First of term + | Lambda of (char * term) + | Apply of (term * term) + | Letrec of (char * term * term) + | Change of (char * term * term) + ;; type index = int;;