simply scheme 第一章 练习+ 看书计划
话说进了大学从来没有完整地看完一本原版书,现在要努力了。
simply scheme
|
SICP
|
算法导论、compilers、计算机网络、操作系统
|
TAOCP
先总结这些
scheme程序
我用的是plt scheme v372 for max osx里面的DrScheme,
大家还是用v372吧,网上说v4以上的不兼容
进入DrScheme 第一步选择语言 plt 图形(graphical)然后点击运行
(load "applications/plt/simply.scm"),这是我的文件地址,回应为#t这样就可以了
define函数写在上面的窗口里
折腾了两天,终于可以安安静静地学习了
Exercises
1.1 Do 20 push-ups.
做的累死我了,想当年可以做50个的,要锻炼身体了!!!
1.2 Calculate 1000 factorial by hand and see if the computer got the right answer.
我做到9!就做错了我了个去!!!
1.3 Create a file called acronym.scm containing our acronym program, using the text editor provided for use with your version of Scheme. Load the file into Scheme and run the program. Produce a transcript file called acronym.log, showing your interaction with Scheme as you test the program several times, and print it.
我不知道怎样生成log文件,没做