[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Flavor suggestion
- To: INFO-LISPM at MIT-AI
- Subject: Flavor suggestion
- From: Henry Lieberman <HENRY at MIT-AI>
- Date: Mon ,30 Nov 81 12:26:00 EDT
What do you think about the following addition to flavors?
Right now, when an instance doesn't understand a message it
signals an error. I propose that the instance be given a chance
to say what it wants done with unrecognized messages, by
having the UNCLAIMED-MESSAGE function check to see if the
instance handles the message :UNCLAIMED-MESSAGE, and if so,
send it :UNCLAIMED-MESSAGE, along with the original unrecognized
message.
This would allow instances to "delegate" messages they didn't
understand to other objects, have object-specific "error handlers",
etc.