[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: DEFMACRO and &WHOLE
- To: KMP at MIT-MC
- Subject: Re: DEFMACRO and &WHOLE
- From: Moon@MIT-AI
- Date: Wed, 12 Mar 81 08:31:49 GMT
- Cc: (BUG LISPM) at MIT-MC, (BUG MACLISP) at MIT-MC Date: 30 November 1981 17:20-EST From: Kent M. Pitman <KMP at MIT-MC> Subject: &keyword lossage To: BUG-LISPM at MIT-MC cc: BUG-MACLISP at MIT-MC
- Original-date: 12/03/81 04:31:49 EDT
On the LispM, &WHOLE is not a keyword to DEFMACRO.
In Maclisp/NIL it is.
What's this for? I can't think of anything that isn't a bad idea that it could be for.
Since DEFMACRO is itself a macro, it could check for symbols starting
with &'s which are not keywords and warn the user. The effects of
mis-spelling a keyword or assuming that one is one when it is not can
be quite confusing.
This should be done.