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: Tue, 08 Sep 2015 20:59:24 +0200 Message-ID: <87twr4lotv.fsf@petton.fr> References: <1441295429.4215.0@smtp.gmail.com> <87si6vl21r.fsf@petton.fr> <878u8k2vnp.fsf@udel.edu> <878u8i69ok.fsf@petton.fr> <674102d7-0e97-478a-af05-ca6d82c17c28@default> <87mvwym01x.fsf@petton.fr> <87h9n5mloa.fsf@petton.fr> <8737ypm547.fsf@petton.fr> 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 1441738789 12811 80.91.229.3 (8 Sep 2015 18:59:49 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 8 Sep 2015 18:59:49 +0000 (UTC) Cc: Mark Oteiza , Drew Adams , emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Sep 08 20:59:38 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 1ZZO7C-0005IG-B5 for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2015 20:59:34 +0200 Original-Received: from localhost ([::1]:36709 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZO7C-0006DO-Ck for ged-emacs-devel@m.gmane.org; Tue, 08 Sep 2015 14:59:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:36993) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZO78-0006CR-TY for emacs-devel@gnu.org; Tue, 08 Sep 2015 14:59:31 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZZO75-0004D8-P1 for emacs-devel@gnu.org; Tue, 08 Sep 2015 14:59:30 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:58602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZZO75-0004D0-Iw for emacs-devel@gnu.org; Tue, 08 Sep 2015 14:59:27 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 3391D20A74 for ; Tue, 8 Sep 2015 14:59:27 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Tue, 08 Sep 2015 14:59:27 -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=pg1JFjU8D7320mSvab+xR/BImXo=; b=ajHiy imX6nYB6M3YF+Q20Wc5bCUGxpkq0h8hHzQl5pbjV3fgxkjNO3+NORc/pRcvx7EKw ksBe7YEFmMpzDyEEhH1JF1O653wPuwJJdVO8qd5HwLp8A2bGfESPkKrTnqdVjEwl 7kZnF8ept0LE9lguT+KpAIKsrQZPdKB3kDaoUs= X-Sasl-enc: 0l7BJRABRD/e1T9tMgvutcTnbjKCQgg/9B+uO2c/A1ao 1441738766 Original-Received: from blueberry (arennes-658-1-183-218.w92-139.abo.wanadoo.fr [92.139.0.218]) by mail.messagingengine.com (Postfix) with ESMTPA id 60F726801E5; Tue, 8 Sep 2015 14:59:26 -0400 (EDT) In-Reply-To: User-Agent: Notmuch/0.19 (http://notmuchmail.org) Emacs/25.0.50.4 (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.28 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:189732 Archived-At: --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable Stefan Monnier writes: >>> then in most cases, I think the code ends up just as simple with >>> seq-some as with seq-find. > [...] >> To make things easier to understand, I'm taking the example of finding >> the first odd number in a seq: > > I've never needed to do that. That was just an example. You never needed to find an element from a sequence? 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 iQEcBAEBCAAGBQJV7zAMAAoJECM1h6R8IHkQj9kH/0LD2uwyJoNoagGntEvt3nm2 ubjZwTUCeHqaDbHglX/H0j4n11rzWHwBeTiSicnwjy/GiCWG1j7imRAkuQXyPbn0 pCHmqbJXHJizxiZe5Ex2mhE89grz7+Z+NMgGPLCzqc8ASZeVB9wXLUPEQZZgnc/i sFUxVS6saRbHQi03FoPhTPDyfWU8dLZVEIVCLhhP3/0TbP6S4xb4nRqphJgdQkvx hfI/JXeBDZGgglDwalg0a7PoOixOSWpZgK8P1Ev8YcWwgzFvSJOYyeNvERsDwcpb DLMK/xYkcfyqNbaWF318YhaDqRsuCLVNy2hm2207vGP8/xOdZROu9FxgHqKY1+g= =ncGk -----END PGP SIGNATURE----- --=-=-=--