From: Jim Pryor Date: Fri, 26 Nov 2010 12:58:24 +0000 (-0500) Subject: tweak calc improvements X-Git-Url: http://lambda.jimpryor.net/git/gitweb.cgi?p=lambda.git;a=commitdiff_plain;h=2fbca5c72240f211e6ad7b7d776bbc96d8f09c9a tweak calc improvements Signed-off-by: Jim Pryor --- diff --git a/code/calculator/calc1.ml b/code/calculator/calc1.ml index 554ce7c5..b0c5cea7 100644 --- a/code/calculator/calc1.ml +++ b/code/calculator/calc1.ml @@ -1,4 +1,4 @@ -(* Original calculator from Week7, enhanced with Booleans and Immutable Pairs *) +(* calc1.ml: original calculator from Week7, enhanced with Booleans and Immutable Pairs *) type term = Intconstant of int diff --git a/code/calculator/calc2.ml b/code/calculator/calc2.ml index ef4a37c6..521b81dd 100644 --- a/code/calculator/calc2.ml +++ b/code/calculator/calc2.ml @@ -1,4 +1,4 @@ -(* calc1.ml, enhanced with Function Values *) +(* calc2.ml: calc1.ml enhanced with Function Values *) type term = Intconstant of int diff --git a/code/calculator/calc3.ml b/code/calculator/calc3.ml index 65bf7542..523a6bbf 100644 --- a/code/calculator/calc3.ml +++ b/code/calculator/calc3.ml @@ -1,4 +1,4 @@ -(* calc2.ml, enhanced with Recursive Function Values *) +(* calc3.ml: calc2.ml enhanced with Recursive Function Values *) type term = Intconstant of int diff --git a/code/calculator/calc4.ml b/code/calculator/calc4.ml index 54519f0c..1343827d 100644 --- a/code/calculator/calc4.ml +++ b/code/calculator/calc4.ml @@ -1,4 +1,4 @@ -(* calc3.ml, enhanced with Mutable Cells *) +(* calc4.ml: calc3.ml enhanced with Mutable Cells *) type term = Intconstant of int diff --git a/code/calculator/calc5.ml b/code/calculator/calc5.ml index 593f296b..f855c88c 100644 --- a/code/calculator/calc5.ml +++ b/code/calculator/calc5.ml @@ -1,4 +1,4 @@ -(* calc3,ml, enhanced with Mutable Pairs *) +(* calc5.ml: calc3,ml enhanced with Mutable Pairs *) type term = Intconstant of int diff --git a/code/calculator/calc6.ml b/code/calculator/calc6.ml index fa3f1832..9cf5abc3 100644 --- a/code/calculator/calc6.ml +++ b/code/calculator/calc6.ml @@ -1,4 +1,4 @@ -(* calc3.ml, enhanced with Mutable Variables *) +(* calc6.ml: calc3.ml enhanced with Mutable Variables *) type term = Intconstant of int diff --git a/code/calculator/calc7.ml b/code/calculator/calc7.ml index 6fc6338d..6a3e55c1 100644 --- a/code/calculator/calc7.ml +++ b/code/calculator/calc7.ml @@ -1,4 +1,4 @@ -(* calc6.ml, enhanced with Aliases and Passing by Reference *) +(* calc7.ml: calc6.ml enhanced with Aliases and Passing by Reference *) type term = Intconstant of int