]> git.rkrishnan.org Git - sicp.git/commitdiff
renaming to ch1_1 to reflect chapter and section
authorRamakrishnan Muthukrishnan <vu3rdd@gmail.com>
Mon, 22 Mar 2010 19:20:34 +0000 (00:50 +0530)
committerRamakrishnan Muthukrishnan <vu3rdd@gmail.com>
Mon, 22 Mar 2010 19:20:34 +0000 (00:50 +0530)
ch1/ch1_1.clj [new file with mode: 0644]
ch1/square.clj [deleted file]

diff --git a/ch1/ch1_1.clj b/ch1/ch1_1.clj
new file mode 100644 (file)
index 0000000..a0a00a7
--- /dev/null
@@ -0,0 +1,9 @@
+(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/ch1/square.clj b/ch1/square.clj
deleted file mode 100644 (file)
index 5671487..0000000
+++ /dev/null
@@ -1,9 +0,0 @@
-(ns sicp-clj.ch1)
-
-(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