sicp.git
14 years agoadded code in section 2.2.4
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 07:08:33 +0000 (12:38 +0530)]
added code in section 2.2.4

14 years agoUtilities for henderson's picture language.
Ramakrishnan Muthukrishnan [Tue, 31 Aug 2010 18:34:25 +0000 (00:04 +0530)]
Utilities for henderson's picture language.

14 years agosolution to 2.45 in Scheme
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 19:35:33 +0000 (01:05 +0530)]
solution to 2.45 in Scheme

14 years ago2.2.4 in Scheme
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 19:35:13 +0000 (01:05 +0530)]
2.2.4 in Scheme

14 years agominor formatting changes
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 18:19:27 +0000 (23:49 +0530)]
minor formatting changes

14 years agorest of section 2.2
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 18:18:50 +0000 (23:48 +0530)]
rest of section 2.2

14 years agoupdated deps to clojure 1.2.0
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 18:18:25 +0000 (23:48 +0530)]
updated deps to clojure 1.2.0

14 years agosolution to 2.20 in Scheme (DrRacket)
Ramakrishnan Muthukrishnan [Wed, 25 Aug 2010 18:17:32 +0000 (23:47 +0530)]
solution to 2.20 in Scheme (DrRacket)

14 years agosolution to 2.43
Ramakrishnan Muthukrishnan [Sat, 14 Aug 2010 06:52:09 +0000 (12:22 +0530)]
solution to 2.43

14 years agotwo solutions to 2.42
Ramakrishnan Muthukrishnan [Sat, 14 Aug 2010 06:33:19 +0000 (12:03 +0530)]
two solutions to 2.42

14 years agosolution to 2.41
Ramakrishnan Muthukrishnan [Wed, 11 Aug 2010 14:57:43 +0000 (20:27 +0530)]
solution to 2.41

14 years agosolution to 2.40. Extension of the text discussions.
Ramakrishnan Muthukrishnan [Wed, 11 Aug 2010 14:57:23 +0000 (20:27 +0530)]
solution to 2.40. Extension of the text discussions.

14 years agoexamples upto ex 2.40
Ramakrishnan Muthukrishnan [Sat, 7 Aug 2010 09:21:23 +0000 (14:51 +0530)]
examples upto ex 2.40

14 years agosolution to 2.39. Took me some experimentation at the repl to find the fold-right...
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 19:36:05 +0000 (01:06 +0530)]
solution to 2.39. Took me some experimentation at the repl to find the fold-right version of reverse.

14 years agosolution to 2.38
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 18:16:01 +0000 (23:46 +0530)]
solution to 2.38

14 years agosolution to 2.37
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 17:09:36 +0000 (22:39 +0530)]
solution to 2.37

14 years agosolution to 2.36
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 14:15:18 +0000 (19:45 +0530)]
solution to 2.36

14 years agoSolution to 2.35. Yet another enlightening problem
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 11:08:40 +0000 (16:38 +0530)]
Solution to 2.35. Yet another enlightening problem

14 years agosolution to 2.34
Ramakrishnan Muthukrishnan [Tue, 3 Aug 2010 09:55:13 +0000 (15:25 +0530)]
solution to 2.34

14 years agoSolution to 2.33
Ramakrishnan Muthukrishnan [Mon, 2 Aug 2010 18:41:59 +0000 (00:11 +0530)]
Solution to 2.33

14 years agoexamples till ex 2.33.
Ramakrishnan Muthukrishnan [Mon, 2 Aug 2010 18:41:26 +0000 (00:11 +0530)]
examples till ex 2.33.

14 years agoadded parts of section 2.2.3
Ramakrishnan Muthukrishnan [Mon, 2 Aug 2010 13:51:45 +0000 (19:21 +0530)]
added parts of section 2.2.3

14 years agosolution to 2.32. One of the best exercises in this section.
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 19:52:24 +0000 (01:22 +0530)]
solution to 2.32. One of the best exercises in this section.

14 years agosolution to 2.31
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 19:52:19 +0000 (01:22 +0530)]
solution to 2.31

14 years agosolution to 2.30
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 19:52:14 +0000 (01:22 +0530)]
solution to 2.30

14 years agotext examples upto 2.2.3
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 19:51:50 +0000 (01:21 +0530)]
text examples upto 2.2.3

14 years agoanother solution to 2.20
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 03:43:05 +0000 (09:13 +0530)]
another solution to 2.20

14 years agosolution to 2.29
Ramakrishnan Muthukrishnan [Thu, 22 Jul 2010 03:42:36 +0000 (09:12 +0530)]
solution to 2.29

14 years agosolution to 2.28. Really interesting..
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 12:38:46 +0000 (18:08 +0530)]
solution to 2.28. Really interesting..

14 years agosolution to 2.27
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 06:56:41 +0000 (12:26 +0530)]
solution to 2.27

14 years agosolution to 2.26
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 06:56:14 +0000 (12:26 +0530)]
solution to 2.26

14 years agosolution to 2.25
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 06:55:56 +0000 (12:25 +0530)]
solution to 2.25

14 years agoanother implementation of reverse
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 06:55:33 +0000 (12:25 +0530)]
another implementation of reverse

14 years agosome additional notes and code on addition with church numerals
Ramakrishnan Muthukrishnan [Sat, 10 Jul 2010 05:38:48 +0000 (11:08 +0530)]
some additional notes and code on addition with church numerals

14 years agostarting with section 2.2.2
Ramakrishnan Muthukrishnan [Fri, 2 Jul 2010 07:18:44 +0000 (12:48 +0530)]
starting with section 2.2.2

14 years agosolution to 2.24. Please look at the correctness of the box and arrow diagram
Ramakrishnan Muthukrishnan [Fri, 2 Jul 2010 07:18:02 +0000 (12:48 +0530)]
solution to 2.24. Please look at the correctness of the box and arrow diagram

14 years agosolution to 2.23
Ramakrishnan Muthukrishnan [Fri, 2 Jul 2010 07:17:37 +0000 (12:47 +0530)]
solution to 2.23

14 years agosolution to 2.22
Ramakrishnan Muthukrishnan [Thu, 1 Jul 2010 03:40:30 +0000 (09:10 +0530)]
solution to 2.22

14 years agosolution to 2.21
Ramakrishnan Muthukrishnan [Sun, 27 Jun 2010 17:04:29 +0000 (22:34 +0530)]
solution to 2.21

14 years agoa much clearer solution of 2.20
Ramakrishnan Muthukrishnan [Thu, 24 Jun 2010 02:54:15 +0000 (08:24 +0530)]
a much clearer solution of 2.20

14 years agoadded another solution and test for 2.20
Ramakrishnan Muthukrishnan [Mon, 21 Jun 2010 14:21:31 +0000 (19:51 +0530)]
added another solution and test for 2.20

14 years agosolution to 2.20
Ramakrishnan Muthukrishnan [Mon, 21 Jun 2010 14:09:57 +0000 (19:39 +0530)]
solution to 2.20

14 years agosolution to 2.19
Ramakrishnan Muthukrishnan [Mon, 21 Jun 2010 12:47:13 +0000 (18:17 +0530)]
solution to 2.19

14 years agosolution to 2.18
Ramakrishnan Muthukrishnan [Sun, 20 Jun 2010 04:49:58 +0000 (10:19 +0530)]
solution to 2.18

14 years agosolution to 2.17
Ramakrishnan Muthukrishnan [Sun, 20 Jun 2010 04:04:40 +0000 (09:34 +0530)]
solution to 2.17

14 years agostarted with section 2.2
Ramakrishnan Muthukrishnan [Sun, 20 Jun 2010 04:04:14 +0000 (09:34 +0530)]
started with section 2.2

14 years agosolution to 2.15.
Ramakrishnan Muthukrishnan [Mon, 14 Jun 2010 10:42:24 +0000 (16:12 +0530)]
solution to 2.15.

14 years agosolution to 2.16
Ramakrishnan Muthukrishnan [Mon, 14 Jun 2010 10:42:11 +0000 (16:12 +0530)]
solution to 2.16

14 years agosolution to 2.15
Ramakrishnan Muthukrishnan [Mon, 14 Jun 2010 09:38:27 +0000 (15:08 +0530)]
solution to 2.15

14 years agosolution to 2.14
Ramakrishnan Muthukrishnan [Mon, 14 Jun 2010 03:20:02 +0000 (08:50 +0530)]
solution to 2.14

14 years agomodification to make-center-percentage to make use of make-center-width
Ramakrishnan Muthukrishnan [Mon, 14 Jun 2010 03:19:26 +0000 (08:49 +0530)]
modification to make-center-percentage to make use of make-center-width

14 years agobug fix.
Ramakrishnan Muthukrishnan [Mon, 14 Jun 2010 03:02:52 +0000 (08:32 +0530)]
bug fix.

14 years agosolution to 2.11.
Ramakrishnan Muthukrishnan [Sun, 13 Jun 2010 20:07:31 +0000 (01:37 +0530)]
solution to 2.11.

14 years agosolutions to 2.12 and 2.13
Ramakrishnan Muthukrishnan [Sat, 12 Jun 2010 21:02:28 +0000 (02:32 +0530)]
solutions to 2.12 and 2.13

14 years agosolutions to 2.7 to 2.11.
Ramakrishnan Muthukrishnan [Sat, 12 Jun 2010 20:11:59 +0000 (01:41 +0530)]
solutions to 2.7 to 2.11.

14 years agoadded a church-to-numeral fn and test.
Ramakrishnan Muthukrishnan [Sat, 12 Jun 2010 10:54:59 +0000 (16:24 +0530)]
added a church-to-numeral fn and test.

14 years agosolutions to 2.6. Truely mind bending!
Ramakrishnan Muthukrishnan [Sat, 12 Jun 2010 10:41:24 +0000 (16:11 +0530)]
solutions to 2.6. Truely mind bending!

14 years agosolution to 2.5
Ramakrishnan Muthukrishnan [Sat, 12 Jun 2010 04:35:11 +0000 (10:05 +0530)]
solution to 2.5

14 years agoadded a handy error function
Ramakrishnan Muthukrishnan [Tue, 8 Jun 2010 12:06:48 +0000 (17:36 +0530)]
added a handy error function

14 years agosolution to 2.4
Ramakrishnan Muthukrishnan [Mon, 7 Jun 2010 18:00:52 +0000 (23:30 +0530)]
solution to 2.4

14 years agoSolution to 2.3
Ramakrishnan Muthukrishnan [Mon, 7 Jun 2010 17:29:43 +0000 (22:59 +0530)]
Solution to 2.3

14 years agosolution to 2.2 with tests
Ramakrishnan Muthukrishnan [Mon, 7 Jun 2010 12:08:35 +0000 (17:38 +0530)]
solution to 2.2 with tests

14 years agoadded approx-equal function
Ramakrishnan Muthukrishnan [Mon, 7 Jun 2010 12:08:11 +0000 (17:38 +0530)]
added approx-equal function

14 years agosolution and tests for exercise 2.1
Ramakrishnan Muthukrishnan [Mon, 7 Jun 2010 11:03:26 +0000 (16:33 +0530)]
solution and tests for exercise 2.1

14 years agoSection 2.1 rational number examples
Ramakrishnan Muthukrishnan [Mon, 7 Jun 2010 11:02:59 +0000 (16:32 +0530)]
Section 2.1 rational number examples

14 years agoa much beautiful way to solve 1.43 using recursion
Ramakrishnan Muthukrishnan [Sun, 30 May 2010 12:53:46 +0000 (18:23 +0530)]
a much beautiful way to solve 1.43 using recursion

14 years agoadded test cases and fixed a bug.
Ramakrishnan Muthukrishnan [Sun, 30 May 2010 03:19:56 +0000 (08:49 +0530)]
added test cases and fixed a bug.

14 years agosolution to 1.46
Ramakrishnan Muthukrishnan [Sun, 30 May 2010 03:06:07 +0000 (08:36 +0530)]
solution to 1.46

14 years agosolution to 1.45
Ramakrishnan Muthukrishnan [Sun, 30 May 2010 01:55:16 +0000 (07:25 +0530)]
solution to 1.45

14 years agoadding gitignore into the repo, which ignores generated files and directories.
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 19:48:03 +0000 (01:18 +0530)]
adding gitignore into the repo, which ignores generated files and directories.

14 years agosolution to 1.44. Extremely interesting problem
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 19:45:33 +0000 (01:15 +0530)]
solution to 1.44. Extremely interesting problem

14 years agomaking repeated-1 as private
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 19:44:58 +0000 (01:14 +0530)]
making repeated-1 as private

14 years agoadded more tests
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 15:36:26 +0000 (21:06 +0530)]
added more tests

14 years agoadded a few tests
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 14:49:05 +0000 (20:19 +0530)]
added a few tests

14 years agosolution to 1.43
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 14:26:26 +0000 (19:56 +0530)]
solution to 1.43

14 years agosolution to 1.42
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 14:26:18 +0000 (19:56 +0530)]
solution to 1.42

14 years agosolution to 1.41
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 14:26:12 +0000 (19:56 +0530)]
solution to 1.41

14 years agorest of section 1.3
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 12:46:25 +0000 (18:16 +0530)]
rest of section 1.3

14 years agosolution to 1.40
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 12:45:53 +0000 (18:15 +0530)]
solution to 1.40

14 years agoworked thru parts of 1.3.4
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 06:52:47 +0000 (12:22 +0530)]
worked thru parts of 1.3.4

14 years agoadding leiningen project file
Ramakrishnan Muthukrishnan [Thu, 27 May 2010 05:37:22 +0000 (11:07 +0530)]
adding leiningen project file

14 years agoSolution to 1.39
Ramakrishnan Muthukrishnan [Wed, 19 May 2010 13:11:04 +0000 (18:41 +0530)]
Solution to 1.39

14 years agoA much better way to generate the denominator sequence.
Ramakrishnan Muthukrishnan [Tue, 18 May 2010 13:31:41 +0000 (19:01 +0530)]
A much better way to generate the denominator sequence.

14 years agoSolution to 1.38. I am generating the denominator in a little
Ramakrishnan Muthukrishnan [Tue, 18 May 2010 13:19:00 +0000 (18:49 +0530)]
Solution to 1.38. I am generating the denominator in a little
convoluted way. There should be a better mathematical way to
generate the denominator sequence.

14 years agoSolution to 1.37. Iterative version needs some thinking.
Ramakrishnan Muthukrishnan [Mon, 17 May 2010 10:37:10 +0000 (16:07 +0530)]
Solution to 1.37. Iterative version needs some thinking.

14 years agoSolution to 1.36.
Ramakrishnan Muthukrishnan [Mon, 17 May 2010 08:01:45 +0000 (13:31 +0530)]
Solution to 1.36.

14 years agosolution to 1.35
Ramakrishnan Muthukrishnan [Mon, 10 May 2010 17:19:03 +0000 (22:49 +0530)]
solution to 1.35

14 years agosection 1.3.3
Ramakrishnan Muthukrishnan [Mon, 10 May 2010 17:18:38 +0000 (22:48 +0530)]
section 1.3.3

14 years agosolution to 1.34
Ramakrishnan Muthukrishnan [Thu, 6 May 2010 03:28:55 +0000 (08:58 +0530)]
solution to 1.34

14 years agofixed some unit tests
Ramakrishnan Muthukrishnan [Wed, 5 May 2010 14:16:51 +0000 (19:46 +0530)]
fixed some unit tests

14 years agosome minor re-arrangements
Ramakrishnan Muthukrishnan [Wed, 5 May 2010 13:11:29 +0000 (18:41 +0530)]
some minor re-arrangements

14 years agosolution to 1.33
Ramakrishnan Muthukrishnan [Wed, 5 May 2010 13:11:04 +0000 (18:41 +0530)]
solution to 1.33

14 years agosolution to 1.32
Ramakrishnan Muthukrishnan [Wed, 5 May 2010 11:03:21 +0000 (16:33 +0530)]
solution to 1.32

14 years agosolution for exercise 1.31
Ramakrishnan Muthukrishnan [Tue, 4 May 2010 18:08:04 +0000 (23:38 +0530)]
solution for exercise 1.31

14 years agosolution to 1.30
Ramakrishnan Muthukrishnan [Tue, 4 May 2010 14:47:28 +0000 (20:17 +0530)]
solution to 1.30

14 years agoshort comment on the implementation
Ramakrishnan Muthukrishnan [Tue, 4 May 2010 10:58:53 +0000 (16:28 +0530)]
short comment on the implementation

14 years agocleaner implementation making use of sum
Ramakrishnan Muthukrishnan [Tue, 4 May 2010 10:56:04 +0000 (16:26 +0530)]
cleaner implementation making use of sum

14 years agosolution to 1.29.
Ramakrishnan Muthukrishnan [Tue, 4 May 2010 09:56:12 +0000 (15:26 +0530)]
solution to 1.29.

14 years agodeleted older files
Ramakrishnan Muthukrishnan [Tue, 4 May 2010 09:54:56 +0000 (15:24 +0530)]
deleted older files

14 years agonamespace confusions resolved.
Ramakrishnan Muthukrishnan [Tue, 4 May 2010 09:54:06 +0000 (15:24 +0530)]
namespace confusions resolved.