加载中
【SICP练习】116 练习3.42

练习3-42 原文 Exercise 3.42. Ben Bitdiddle suggests that it’s a waste of time to create a new serialized procedure in response to every withdraw and deposit message. He says t...

【SICP练习】106 练习3.7

练习3-7 原文 Exercise 3.7. Consider the bank account objects created by make-account, with the password modification described in exercise 3.3. Suppose that our banking system r...

【SICP练习】117 练习3.44

练习3-44 原文 Exercise 3.44. Consider the problem of transferring an amount from one account to another. Ben Bitdiddle claims that this can be accomplished with the following p...

【SICP练习】104 练习3.1-3.4

练习3-1 原文 Exercise 3.1. An accumulator is a procedure that is called repeatedly with a single numeric argument and accumulates its arguments into a sum. Each time it is calle...

【SICP练习】107 练习3.8

练习3-8 原文 Exercise 3.8. When we defined the evaluation model in section 1.1.3, we said that the first step in evaluating an expression is to evaluate its subexpressions. But ...

【SICP练习】118 练习3.45【待完成】

练习3-45 原文 Exercise 3.45. Louis Reasoner thinks our bank-account system is unnecessarily complex and error-prone now that deposits and withdrawals aren’t automatically seria...

【SICP练习】114 练习3.38-3.39

练习3-38 原文 Exercise 3.38. Suppose that Peter, Paul, and Mary share a joint bank account that initially contains 100. Concurrently, Peter deposits 10, Paul withdraws 20, and ...

【SICP练习】115 练习3.41

练习3-41 原文 Exercise 3.41. Ben Bitdiddle worries that it would be better to implement the bank account as follows (where the commented line has been changed): (define (make-a...

没有更多内容

加载失败,请刷新页面

没有更多内容

返回顶部
顶部