[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: GJC at MIT-MC
- Subject: Penultimate SELECTQ?
- From: Jon L White <JONL at MIT-MC>
- Date: Sun, 26 Jul 81 21:27:00 GMT
- Cc: CWH at MIT-MC, GSB at MIT-MC, ALAN at MIT-MC, KMP at MIT-MC, BUG-LISP at MIT-MC
- Original-date: 26 July 1981 17:27-EDT
Date: 25 July 1981 17:14-EDT
From: George J. Carrette <GJC at MIT-MC>
Subject: The ultimate disposal of the SELECTQ problem.
To: JONL at MIT-MC
I noticed you asked CWH about this. Well, the installed SELECTQ
is one I wrote that accepts items of types SYMBOL and FIXNUM, is
LISPM compatible, and generates code as good as CASEQ when it can.
Actually, I had suggested in some earlier mail that we use the macro
defintion that GSB had in LSB. It had only a minor glitch or two (which
I corrected when moving it into UMLMAC), but is a super-winner since it
handles *all* cases, and does so most efficiently. That's the SELECTQ
macro now in UMLMAC.
GSB: the "glitch" was that it failed when the calling form didn't
end in one of (T OTHERWISE :OTHERWISE). Also, I updated
the calls to gensym to be si:gen-local-var.