Re: Generic Delegation?
"Yuri Davidovsky (as work at disclosure dot ie)" <[email protected]>
| Newsgroups | gmane.lisp.lispworks.general |
|---|---|
| Message-ID | <[email protected]> |
> On 9 Nov 2025, at 16:32, David McClain (as dbm at refined-audiometrics dot com) <[email protected]> wrote: > > I could construct an AUGMENTED-STREAM Class that encapsulates an open STREAM instance, and add a specialized method to STREAM:STREAM-READ-SEQUENCE. That works great. But now I also have to handle all the other generic functions that the enclosed STREAM object would have handled. I may be misunderstanding what you are trying to do, judging by the complexity of your solution, but to me it seems that you want to simply subclass the stream class whose functionality you want to modify. Then you can override the specific behaviour that you need, while the rest of the functionality you do not care about will be handled by the parent class methods. Or are you trying to do something else that I did not understand correctly? _______________________________________________ Lisp Hug - the mailing list for LispWorks users [email protected] http://www.lispworks.com/support/lisp-hug.html