From: Ramakrishnan Muthukrishnan Date: Mon, 22 Mar 2010 19:22:54 +0000 (+0530) Subject: renaming to ch1 to chapter1 to be more explicit X-Git-Url: https://git.rkrishnan.org/index.php?a=commitdiff_plain;h=dd1c69a6d20d3e155c51eae8470f319e18e137b8;p=sicp.git renaming to ch1 to chapter1 to be more explicit --- diff --git a/ch1/ch1_1.clj b/ch1/ch1_1.clj deleted file mode 100644 index a0a00a7..0000000 --- a/ch1/ch1_1.clj +++ /dev/null @@ -1,9 +0,0 @@ -(ns sicp.ch1.ch1_1) - -(defn square [x] (* x x)) - -(defn sum-of-squares [x y] - (+ (square x) (square y))) - -(defn f [a] - (sum-of-squares (+ a 1) (* a 2))) \ No newline at end of file diff --git a/chapter1/ch1_1.clj b/chapter1/ch1_1.clj new file mode 100644 index 0000000..7361cd3 --- /dev/null +++ b/chapter1/ch1_1.clj @@ -0,0 +1,9 @@ +(ns sicp.chapter1.ch1_1) + +(defn square [x] (* x x)) + +(defn sum-of-squares [x y] + (+ (square x) (square y))) + +(defn f [a] + (sum-of-squares (+ a 1) (* a 2))) \ No newline at end of file