tweak calc improvements
[lambda.git] / code / calculator / calc3.ml
index bcf15cd..522ca28 100644 (file)
@@ -1,19 +1,19 @@
 (* calc2.ml, enhanced with Recursive Function Values *)
 
        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)
-        ;;
+      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)
+    ;;
 
     type bound_value = Nonrecursive of expressed_value | Recursive_Closure of char * char * term * assignment
        and assignment = (char * bound_value) list