From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 3185 invoked by alias); 1 Sep 2009 17:13:00 -0000 Received: (qmail 3176 invoked by uid 22791); 1 Sep 2009 17:12:59 -0000 X-SWARE-Spam-Status: No, hits=2.8 required=5.0 tests=AWL,BAYES_00,BOTNET,J_CHICKENPOX_12,J_CHICKENPOX_53,NO_DNS_FOR_FROM,RDNS_DYNAMIC X-Spam-Check-By: sourceware.org Received: from adsl-64-165-110-54.sebabeach.org (HELO sspiff.sspiff.org) (64.165.110.54) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 01 Sep 2009 17:12:55 +0000 Received: from sspiff.sspiff.org (localhost.localdomain [127.0.0.1]) by sspiff.sspiff.org (8.14.2/8.14.2) with ESMTP id n81HCqrX000561 for ; Tue, 1 Sep 2009 10:12:53 -0700 Received: (from dje@localhost) by sspiff.sspiff.org (8.14.2/8.14.2/Submit) id n81HCqFT000557; Tue, 1 Sep 2009 10:12:52 -0700 Date: Tue, 01 Sep 2009 17:13:00 -0000 Message-Id: <200909011712.n81HCqFT000557@sspiff.sspiff.org> From: Doug Evans To: cgen@sourceware.org Subject: .find -> .filter? X-IsSubscribed: yes Mailing-List: contact cgen-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cgen-owner@sourceware.org X-SW-Source: 2009-q3/txt/msg00091.txt.bz2 I see r6rs has find, filter, partition where find returns the first match, filter returns all matches, and partition returns those that match and those that don't match. [Partition uses the multiple-return-values feature. I'm not suggesting we use that here.] I think the thing to do is follow suit and rename .find to .filter. I like consistent naming. [Internally I'd also rename utils.scm's find-first and find, but that's an internal detail.]