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.
7 lines
365 B
7 lines
365 B
|
|
Exercise 2.83: Suppose you are designing a
|
|
generic arithmetic system for dealing with the tower of types shown in
|
|
Figure 2.25: integer, rational, real, complex. For each type (except
|
|
complex), design a procedure that raises objects of that type one level in the
|
|
tower. Show how to install a generic raise operation that will work for
|
|
each type (except complex).
|
|
|