2.2.4. Example: A Picture Language
Exercise 2.47

Frames implementation

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.



There are no comments yet.

Authentication required

You must log in to post a comment.

Login