The internal procedure
accept-action-procedure! defined in
make-wire specifies that when a new action procedure is added to a wire, the procedure is immediately run. Explain why this initialization is necessary. In particular, trace through the
example in the paragraphs above and say how the system's response would differ if we had defined accept
(define (accept-action-procedure! proc) (set! action-procedures (cons proc action-procedures)))
There are no comments yet.
You must log in to post a comment.Login