sicp.git
14 years agoexposing some functions for use by other exercises
Ramakrishnan Muthukrishnan [Thu, 16 Sep 2010 18:27:27 +0000 (23:57 +0530)]
exposing some functions for use by other exercises

14 years agosolution to 2.68
Ramakrishnan Muthukrishnan [Wed, 15 Sep 2010 18:22:13 +0000 (23:52 +0530)]
solution to 2.68

14 years agosolution to 2.67
Ramakrishnan Muthukrishnan [Wed, 15 Sep 2010 18:22:05 +0000 (23:52 +0530)]
solution to 2.67

14 years agohuffman tree examples
Ramakrishnan Muthukrishnan [Wed, 15 Sep 2010 18:21:48 +0000 (23:51 +0530)]
huffman tree examples

14 years agosolutions to 2.{64,65,66}
Ramakrishnan Muthukrishnan [Sun, 12 Sep 2010 18:11:46 +0000 (23:41 +0530)]
solutions to 2.{64,65,66}

14 years agoadding the key lookup procedure
Ramakrishnan Muthukrishnan [Sun, 12 Sep 2010 18:11:08 +0000 (23:41 +0530)]
adding the key lookup procedure

14 years agosolution to 2.63.
Ramakrishnan Muthukrishnan [Sun, 12 Sep 2010 06:15:31 +0000 (11:45 +0530)]
solution to 2.63.

14 years agoadding the "sets as trees" section code
Ramakrishnan Muthukrishnan [Sun, 12 Sep 2010 06:15:09 +0000 (11:45 +0530)]
adding the "sets as trees" section code

14 years agoan important bug fixed on equal? function
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:56:50 +0000 (16:26 +0530)]
an important bug fixed on equal? function

14 years agosolution to 2.62
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:56:01 +0000 (16:26 +0530)]
solution to 2.62

14 years agosolution to 2.61
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:55:56 +0000 (16:25 +0530)]
solution to 2.61

14 years agosolution to 2.60
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:55:50 +0000 (16:25 +0530)]
solution to 2.60

14 years agosolution to 2.59
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:55:41 +0000 (16:25 +0530)]
solution to 2.59

14 years agoadded the text examples in the section on unordered and ordered Sets
Ramakrishnan Muthukrishnan [Tue, 7 Sep 2010 10:55:25 +0000 (16:25 +0530)]
added the text examples in the section on unordered and ordered Sets

14 years agoFixed a bug with the rest case input of '(x + 3 * (x + y + 2))
Ramakrishnan Muthukrishnan [Sun, 5 Sep 2010 17:08:04 +0000 (22:38 +0530)]
Fixed a bug with the rest case input of '(x + 3 * (x + y + 2))

14 years agoA partially working solution for 2.58b. Still need expression
Ramakrishnan Muthukrishnan [Sun, 5 Sep 2010 16:41:43 +0000 (22:11 +0530)]
A partially working solution for 2.58b. Still need expression
simplification.

14 years agosymbolic differentiation section
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:38:49 +0000 (09:08 +0530)]
symbolic differentiation section

14 years agoAdded a simple explanation.
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:38:11 +0000 (09:08 +0530)]
Added a simple explanation.

14 years agosolution to 2.58 part a
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:37:29 +0000 (09:07 +0530)]
solution to 2.58 part a

14 years agosolution to 2.57
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:37:15 +0000 (09:07 +0530)]
solution to 2.57

14 years agosolution to 2.56
Ramakrishnan Muthukrishnan [Sat, 4 Sep 2010 03:37:05 +0000 (09:07 +0530)]
solution to 2.56

14 years agotext examples until 2.3.2
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 19:54:55 +0000 (01:24 +0530)]
text examples until 2.3.2

14 years agosolution to 2.55
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 19:54:13 +0000 (01:24 +0530)]
solution to 2.55

14 years agosolution to 2.54
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 19:54:06 +0000 (01:24 +0530)]
solution to 2.54

14 years agosolution to 2.53
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 19:53:59 +0000 (01:23 +0530)]
solution to 2.53

14 years agomoved notes to pictlang/README
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 09:40:17 +0000 (15:10 +0530)]
moved notes to pictlang/README

14 years agoadded a note on start-picture
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 08:12:47 +0000 (13:42 +0530)]
added a note on start-picture

14 years agoadded a README which points to the root readme
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 08:08:02 +0000 (13:38 +0530)]
added a README which points to the root readme

14 years agoadded example usage for pictlang
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 08:05:26 +0000 (13:35 +0530)]
added example usage for pictlang

14 years agoadding a note on 2.2.4
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 08:00:58 +0000 (13:30 +0530)]
adding a note on 2.2.4

14 years agoExercise solutions for section 2.2.4. Instead of looking at this
Ramakrishnan Muthukrishnan [Wed, 1 Sep 2010 07:09:01 +0000 (12:39 +0530)]
Exercise solutions for section 2.2.4. Instead of looking at this
commit, please look at the namespace pictlang instead.

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