From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Mastro Newsgroups: gmane.emacs.devel Subject: Re: seq-some-p and nil Date: Thu, 3 Sep 2015 10:35:19 -0700 Message-ID: References: <1441295429.4215.0@smtp.gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1441301761 16879 80.91.229.3 (3 Sep 2015 17:36:01 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 17:36:01 +0000 (UTC) Cc: Nicolas Petton , emacs-devel , Stefan Monnier , =?UTF-8?Q?Simen_Heggest=C3=B8yl?= To: bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 19:35:59 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ZXYQY-0000QV-RJ for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 19:35:58 +0200 Original-Received: from localhost ([::1]:50645 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXYQX-0006id-Su for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 13:35:57 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49246) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXYQH-0006hj-AP for emacs-devel@gnu.org; Thu, 03 Sep 2015 13:35:42 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXYQG-0004Bv-D6 for emacs-devel@gnu.org; Thu, 03 Sep 2015 13:35:41 -0400 Original-Received: from mail-ob0-x233.google.com ([2607:f8b0:4003:c01::233]:33836) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXYQG-0004BZ-5s for emacs-devel@gnu.org; Thu, 03 Sep 2015 13:35:40 -0400 Original-Received: by obcts10 with SMTP id ts10so38726428obc.1 for ; Thu, 03 Sep 2015 10:35:39 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=vtgbZd14sLelOdRcGqNa+/W6NMfYo7lwzcAuP8oQXvE=; b=IZTNtbJKGK1SjuHAeAXOwmus3FfyYQRPiLwayAmZX9mB6FQTM8/tZvTNdCnlAmSju/ 3pEL2lTrbp6dLjw5dwmb+p6PL2c7G8HVt3hMx4XYiHNFamVYA6EJKRTTA8Hv9NljTjxO oYI6dkNiJr9jI1B8L1AsjlTIF1d1OtRlEoltC84yu/RC+msqBumfGUqz3m2tq1krJr6d nvx1GoT0/mALNtHHlp1kHOWQPV8uxrCpelSHLqbz9MqAgCh3/ilLpzxiMsorsUqdF4b8 afJ8Xy118fQylbOPgvUH6jAEZQrJb0sK6fPDUJI7eC2VFriQ8dOo4IS9tajfypu4hPyh Lauw== X-Received: by 10.182.246.101 with SMTP id xv5mr26312047obc.5.1441301739137; Thu, 03 Sep 2015 10:35:39 -0700 (PDT) Original-Received: by 10.76.93.103 with HTTP; Thu, 3 Sep 2015 10:35:19 -0700 (PDT) In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:4003:c01::233 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:189530 Archived-At: Artur Malabarba wrote: > Agreed, and that's not the only case. > Both `seq-some-p' and `seq-contains-p' are named as predicates but do > not behave as predicates. I think `seq-some-p' (or its successor) would also be more useful if it promised to return the first matching element (the docstring says "any element", though in practice it does return the first). -- john