You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
376 B
12 lines
376 B
2 years ago
|
|
||
|
Exercise 3.34: Louis Reasoner wants to build a
|
||
|
squarer, a constraint device with two terminals such that the value of
|
||
|
connector b on the second terminal will always be the square of the
|
||
|
value a on the first terminal. He proposes the following simple device
|
||
|
made from a multiplier:
|
||
|
|
||
|
|
||
|
(define (squarer a b) (multiplier a a b))
|
||
|
|
||
|
There is a serious flaw in this idea. Explain.
|