[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: GOOPS: Customizing class instantiation
From: |
Ludovic Courtès |
Subject: |
Re: GOOPS: Customizing class instantiation |
Date: |
Wed, 27 Sep 2006 10:20:58 +0200 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
Hi,
"Pat Lasswell" <address@hidden> writes:
> On 9/26/06, Ludovic Courtès <address@hidden> wrote:
> (define-method (make-instance (c <my-class>))
> (format (current-error-port) "make-instance (~a)~%" c)
> (next-method))
> Try adding a '. initargs' after '(c <my-class>)'.
I shouldn't be needed and it makes no difference. The
no-applicable-method error occurs when invoking `initialize' on the
newly allocated struct.
Thanks,
Ludovic.