[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Object type names
- To: Common-Lisp at SU-AI
- Subject: Object type names
- From: Masinter at PARC-MAXC
- Date: Mon, 30 Aug 1982 11:22:00 -0000
The Interlisp file package deals with objects via object type names FNS, VARS, MACROS, RECORDS, ... (I think there are about 15 built-in types.)
All of the functions in the file package which deal with object types (e.g.,
GETDEF, COMPAREDEFS, MOVEDEF, EDITDEF, etc.) will coerce non-standard synonyms,
e.g. FUNCTION, FUNCTIONS, VARIABLE, ...
The mechanism for doing the coersion, allowing users to add new synonyms, object
types, etc. is not very complex.
I think it is much more user sensible to talk about FUNCTIONS than DEFUN-objects
(or DEFINEQs, for that matter.) It did turn out to be more convenient to have FNS
and VARS rather than FUNCTIONS and VARIABLES, the brevity for common types as
important as the historical reasons.