14 lines
307 B
14 lines
307 B
2 years ago
|
|
||
|
Exercise 2.47: Here are two possible
|
||
|
constructors for frames:
|
||
|
|
||
|
|
||
|
(define (make-frame origin edge1 edge2)
|
||
|
(list origin edge1 edge2))
|
||
|
|
||
|
(define (make-frame origin edge1 edge2)
|
||
|
(cons origin (cons edge1 edge2)))
|
||
|
|
||
|
For each constructor supply the appropriate selectors to produce an
|
||
|
implementation for frames.
|