Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!uunet!mcsun!ukc!icdoc!sot-ecs!sra From: sra@ecs.soton.ac.uk (Stephen Adams) Newsgroups: comp.lang.lisp Subject: Re: Select macro available [long, mostly source] Message-ID: Date: 1 Oct 90 21:15:38 GMT References: <3857@goanna.cs.rmit.oz.au> Sender: sra@ecs.soton.ac.uk Organization: Southampton University Computer Science Lines: 26 In-reply-to: ok@goanna.cs.rmit.oz.au's message of 1 Oct 90 02:24:02 GMT In article <3857@goanna.cs.rmit.oz.au> ok@goanna.cs.rmit.oz.au (Richard A. O'Keefe) writes: > In article , sra@ecs.soton.ac.uk (Stephen Adams) writes: > > ;; SELECT macro (and IN macro) > > A word of warning: Scheme uses 'select' for a variant of 'case', and > I've come across the same usage elsewhere. Another name might be less > confusing. Perhaps SELECT-MATCH? Point taken. One of the problems with writing general purpose macros for a language the size of Common Lisp is that there are so many standard symbols that it is difficult to think of new short and snappy ones. `All the nice ones are taken.' I did think about this and I looked in the index of CLtL. I didn't find SELECT so I chose that name. I think a more serious criticism of my code is that all the auxiliary functions are not hidden in a package. But that is nearly as easy as changing the name of the macro if that is what you need to do. -- Stephen Adams S.R.Adams@ecs.soton.ac.uk Computer Science S.R.Adams@sot-ecs.uucp Southampton University Southampton SO9 5NH, UK