From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.devel Subject: Re: seq-some-p and nil Date: Thu, 03 Sep 2015 21:45:36 +0200 Message-ID: <87si6vl21r.fsf@petton.fr> References: <1441295429.4215.0@smtp.gmail.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: ger.gmane.org 1441309562 22051 80.91.229.3 (3 Sep 2015 19:46:02 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 3 Sep 2015 19:46:02 +0000 (UTC) Cc: emacs-devel , Stefan Monnier , Simen =?utf-8?Q?Heggest?= =?utf-8?Q?=C3=B8yl?= To: John Mastro , bruce.connor.am@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Sep 03 21:45:48 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 1ZXaSB-0007EC-Ct for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 21:45:47 +0200 Original-Received: from localhost ([::1]:51443 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXaSC-0004qf-0O for ged-emacs-devel@m.gmane.org; Thu, 03 Sep 2015 15:45:48 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35744) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXaS7-0004qa-DW for emacs-devel@gnu.org; Thu, 03 Sep 2015 15:45:44 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZXaS4-0007sr-2l for emacs-devel@gnu.org; Thu, 03 Sep 2015 15:45:43 -0400 Original-Received: from out5-smtp.messagingengine.com ([66.111.4.29]:45224) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZXaS3-0007sc-Lu for emacs-devel@gnu.org; Thu, 03 Sep 2015 15:45:39 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 4FBFF234E7 for ; Thu, 3 Sep 2015 15:45:39 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 03 Sep 2015 15:45:39 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=warJa5gMxatFJnVxTegNJPcQyL0=; b=rKj9K DOUWHHneXr6K4Uodjb0rHbGkAbOGDmvMPevW8nCQJ9Bc77Y3SM1bz1WAk+5YgLHd 8RdHM4jFMhyl6GQr0fvfvG7XfrXPFC+UaujEme73xsEJFwXhWvT8/oqxw4K4IOSQ wT5d50JGEJgI7XWXs+MI3QfgJLLlwuqjqVeB4I= X-Sasl-enc: yQ+xs8QkZCs+pz7mVfxBsUOhYcFO7ZPETjpc9IvT+kLG 1441309538 Original-Received: from blueberry (arennes-658-1-104-170.w83-199.abo.wanadoo.fr [83.199.55.170]) by mail.messagingengine.com (Postfix) with ESMTPA id 5964868009F; Thu, 3 Sep 2015 15:45:38 -0400 (EDT) In-Reply-To: User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.1 (x86_64-unknown-linux-gnu) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 66.111.4.29 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:189555 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable John Mastro writes: > 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). Indeed, I agree. I will update its docstring. Nico =2D-=20 Nicolas Petton http://nicolas-petton.fr --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJV6KNgAAoJECM1h6R8IHkQRu4IAMvFR5sEbZTmRV24WClzUWYd q94SxHa6zdr7sePZ6reQ+uwkP1ks1JtMiYy2xVfbRGAAl6UWqGuV5w1dZYJyHKYf dFUXAgjKqpoJpilMCICKc9jTQRtX9pVBg8WsxNJ+vZl2GhWytYeovPbScOZ+A+h/ ZyQt7nvLhUzmtbwVsmzFmrKM/BWvV43ci7HDVmBD9KHDA85iSNt2AQY6XmqyRBPz WzabrPXG1yZflno+p8J0cajmSvTyzrfema/y/c4Z6Ox82cQGPkcJ/qeyA3XzG8WA L+KOFE3P4Sqi7A7UVAuL+AMahh9zLYkSEWBZPqLWgOgObqIiOWzuvYVDx0EzJ5A= =iakj -----END PGP SIGNATURE----- --=-=-=--