From ... Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!skynet.be!skynet.be!ossa.telenet-ops.be!nmaster.kpnqwest.net!nreader1.kpnqwest.net.POSTED!not-for-mail Newsgroups: comp.lang.lisp Subject: Re: Help: I can't find a simple CL function/idiom References: Mail-Copies-To: never From: Erik Naggum Message-ID: <3227299206023244@naggum.net> Organization: Naggum Software, Oslo, Norway Lines: 26 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Mon, 08 Apr 2002 23:59:48 GMT X-Complaints-To: newsmaster@KPNQwest.no X-Trace: nreader1.kpnqwest.net 1018310388 193.71.199.50 (Tue, 09 Apr 2002 01:59:48 MET DST) NNTP-Posting-Date: Tue, 09 Apr 2002 01:59:48 MET DST Xref: archiver1.google.com comp.lang.lisp:31271 * Michael Naunton | I wound up writing | | (some (lambda (e) e) alist) | | but that seems a bit strained. The function identity is predefined. | I've played "guess the word" in the HyperSpec, but can't find the idiom I | want. For a single list of arguments, some may or may not be misleading. (find-if #'identity list) (find-if-not #'null list) Note that the name "alist" connotes association lists, for which this operation makes little sense. /// -- In a fight against something, the fight has value, victory has none. In a fight for something, the fight is a loss, victory merely relief. Post with compassion: http://home.chello.no/~xyzzy/kitten.jpg