[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Documentation strings in defstruct
- To: common-lisp at SU-AI
- Subject: Documentation strings in defstruct
- From: Alan Bawden <ALAN at MIT-MC>
- Date: Mon, 04 Oct 1982 07:45:00 -0000
Date: Sunday, 3 October 1982 14:03-EDT
From: Scott E. Fahlman <Fahlman at Cmu-20c>
Gary Brown noticed that DEFMACRO and DEFSTRUCT are not documented as
taking documentation strings. DEFMACRO certainly should, since its form
parallels that of DEFUN, and adding this to DEFSTRUCT seems to be a good
idea as well. Any problems with this?
How about:
(defstruct (spaceman (:include person)
(:documentation "A spaceman.
The definition of a spaceman includes the definition of a person.
Additionally a spaceman has a helmit-size and a favorite-beverage.
The default favorite-beverage is Tang (tm)."))
helmet-size
(favorite-beverage 'tang))