Re: with-slots usage question
Marco Baringer <[email protected]> Mon, 10 Nov 2003 21:23:02 +0100
| Newsgroups | gmane.lisp.clump |
|---|---|
| Message-ID | <[email protected]> |
"Robert P. Goldman" <[email protected]> writes: > I feel awfully stupid asking this, but.... Can't you just shadow > LENGTH and STRING in your package if you want to override them? > > So I can make a generic function for LENGTH that has as its default > method (for type T) COMMON-LISP:LENGTH, and put whatever other methods > I want for it. Yes? yes, until you want to do that to a function with optional, keyword or rest args. -- -Marco Ring the bells that still can ring. Forget your perfect offering. There is a crack in everything. That's how the light gets in. -Leonard Cohen