From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Nicolas Petton Newsgroups: gmane.emacs.help Subject: Re: return first element in list with certain property Date: Wed, 22 Nov 2017 22:28:49 +0100 Message-ID: <87po8a9f5a.fsf@petton.fr> References: <8660a60zjn.fsf@zoho.com> <87mv3gzndx.fsf@ericabrahamsen.net> <86ine4y7jy.fsf@zoho.com> <874lpozk0y.fsf@ericabrahamsen.net> <8660a4xuou.fsf@zoho.com> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-Trace: blaine.gmane.org 1511386167 8282 195.159.176.226 (22 Nov 2017 21:29:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 22 Nov 2017 21:29:27 +0000 (UTC) To: Emanuel Berg , help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 22 22:29:20 2017 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eHca7-0001fo-Fl for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Nov 2017 22:29:19 +0100 Original-Received: from localhost ([::1]:41385 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHcaE-0005Mr-Iy for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Nov 2017 16:29:26 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42842) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eHcZm-0005Lo-D6 for help-gnu-emacs@gnu.org; Wed, 22 Nov 2017 16:28:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eHcZj-0004su-9j for help-gnu-emacs@gnu.org; Wed, 22 Nov 2017 16:28:58 -0500 Original-Received: from petton.fr ([89.234.186.68]:44168) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1eHcZj-0004rT-0C for help-gnu-emacs@gnu.org; Wed, 22 Nov 2017 16:28:55 -0500 In-Reply-To: <8660a4xuou.fsf@zoho.com> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=petton.fr; s=mail; t=1511386129; bh=CrCbQRTfjIWyBYZjj2zYHbPHimjyyCiiYmvE2tbNZ8A=; h=From:To:Subject:In-Reply-To:References:Date:Message-ID:MIME-Version:Content-Type; b=SJ6TGRUnEVx/YlLRCzcQunOTyRlB16TAwI9AEHBXmkoxgvWJfgv9uQ9xYheQtPAUEjdXm+AMMblyG0qmaoFIEWX6xUn0WI2tCkTH0pw91qOFiatSC1FKo27mglCa4o9gf+AQgmWvXZCtIrRpqd4bpAHcek161ik5Q6WzSOGqKa8= X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 89.234.186.68 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.org gmane.emacs.help:115056 Archived-At: --=-=-= Content-Type: text/plain Emanuel Berg writes: > See, my intuition was right, seq-find *is* > better even tho you guys are in denial about > it :) The way I see it (I'm completely biased of course), the real advantage of `seq' is that it provides a complete and consistent sequence manipulation API (I tried to design it that way at least), and can be extended to work with other data structures (see stream.el in ELPA for instance). Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEKNO+2FH986tX/vk8IzWHpHwgeRAFAloV7BEACgkQIzWHpHwg eRAjBQf+IkNvN1ih8MNdt2c7Wv6hJDJiPLkSE7qEzI57Vj2Rpk/fNXh4jn2b4Egh lrReKvnSlm90BxYYdKVwuXV6nrvvwxM62d6XCmbDSj5YVFU7hHYnZFrRnnyEl/O6 PGWe3i2LLELuB4BCGU8cxWkag5Xd5vDJfc7AGWaD6jse7Pwv1HbruKXGSzcHGY2m OOY7hZBoc0tVgVErIaKvL9HsPaxf75zAru6qMSsY0NEt2nCElDOVv7GdgNOYKLfB VSLwnHYiMwurnw6aGSsJ6DcrRwUnfweGniSUnimtNiCfrGDa/sxePadyAkDnXyzQ B7CoKASaWIr3iRrKf4wpVfp8Alyu9w== =Nq/2 -----END PGP SIGNATURE----- --=-=-=--