Subject: Re: Removing an item from a list? From: Erik Naggum <erik@naggum.net> Date: Fri, 19 Apr 2002 17:27:31 GMT Newsgroups: comp.lang.lisp Message-ID: <3228226051139456@naggum.net> * Kalle Olavi Niemitalo <kon@iki.fi> | Is REMOVE-IF TEST SEQUENCE :COUNT NIL guaranteed to give | elements to TEST in the same order as they are in SEQUENCE? | I don't see why an implementation would do otherwise, though. I think this case is fairly obvious (i.e., I would complain if anyone were "smart" and did something else), but it is less obvious that supplying :from-end t :count nil will call the test on elements in the reverse order, since from-end is specified to have an effect only when count is non-nil. All implementations that I can test this on, however, do call test in the reverse order. [I used this simple call to see the effect: (remove-if #'print '(1 2 3 4) :from-end t).] /// -- 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