[Bese-devel] :initform or :initarg ?

Marco Baringer mb at bese.it
Fri Aug 5 07:31:30 UTC 2005


Pascal Bourguignon <pjb at informatimago.com> writes:

> In ucw-0.3.9, presentations.lisp:
>
> (defcomponent list-presentation (presentation)
>   ((slots :accessor slots :initarg :slots)
>    (editablep :accessor editablep :initform t :initarg :editablep)
>    (edit-label :accessor edit-label :initform "Edit")
>    (deleteablep :accessor deleteablep :initform :deleteablep)
>    (delete-label :accessor delete-label :initform "Delete")
>    (instances :accessor instances)))
>
> I'm wondering if you didn't want to write:
>
>    (deleteablep :accessor deleteablep :initarg :deleteablep)
>
> instead?

good catch. fixed.

-- 
-Marco
Ring the bells that still can ring.
Forget the perfect offering.
There is a crack in everything.
That's how the light gets in.
	-Leonard Cohen



More information about the bese-devel mailing list