Commit Graph

19 Commits (main)

Author SHA1 Message Date
Felix Martin 335d011db8 Clean up 2021-04-25 08:57:17 -04:00
Felix Martin a92aa63fc1 Finish exercises for chapter 2 2020-12-08 21:39:02 -05:00
Felix Martin 4040c2bf9d Implement poly GCD and scale down coeffs (2.96) 2020-12-08 20:01:09 -05:00
Felix Martin 6282f0aaab Fix bug in poly-div and work on 2.95 2020-12-08 19:16:44 -05:00
Felix Martin 7fbc842873 Implement 2.94 2020-12-08 08:22:13 -05:00
Felix Martin d25e14aaa2 Implement 2.93
This took way longer than expected. First, I noticed that mixed up
sparse and dense terms so I fixed that. Then I extended the rational
package to use generic operations. However, I did not work and it took
me two hours to find the root cause. The problem was that appply-generic
tried to raise raise and drop the rationals with polynomials. The
rational to scheme and rational to real procedures do not support
polynomials which caused the error. I changed these procedures so that
they only attempt coercion of the arguments are numbers. This is not
fully correct as it destroys our ability to have rationals of rationals,
for example, but good enough for our purposes.
2020-12-05 12:48:56 -05:00
Felix Martin 47e979a30c Implement 2.92
That was a hard one. The code is not the cleanest, but I am happy that I
was able to get it done. Let's get this chapter done.
2020-12-02 13:27:09 -05:00
Felix Martin 443665a099 Working on 2.92 2020-11-30 11:57:11 -05:00
Felix Martin 164757c739 Implement 2.91 division 2020-11-29 22:30:30 -05:00
Felix Martin 262d0ed507 Start to implement term div-terms 2020-11-28 20:28:01 -05:00
Felix Martin 07e01a0483 Implement till 2.90 2020-11-27 11:46:08 -05:00
Felix Martin 77f3124362 Implement till 2.89
I have also added my solution to
http://community.schemewiki.org/?sicp-ex-2.89 because none of the other
ones looked right to me when checking.
2020-11-26 20:59:36 -05:00
Felix Martin bc6bd8b007 Implement till 2.87 2020-11-25 10:48:56 -05:00
Felix Martin d9676999ef Implement till 2.86 2020-11-21 20:44:04 -05:00
Felix Martin 40a017043b Implement till 2.84 2020-11-21 10:34:55 -05:00
Felix Martin bebccac4c2 Implement till 2.83 2020-11-20 22:04:19 -05:00
Felix Martin b28c0a1e9f Implement till 2.80 2020-11-19 12:12:57 -05:00
Felix Martin d8e3a4072f Implement till 2.78 2020-11-18 17:54:54 -05:00
Felix Martin c061a25798 Implement till 2.76 2020-11-17 13:33:55 -05:00