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: Fri, 11 Sep 2015 00:12:29 +0200 Message-ID: <87y4gdylde.fsf@petton.fr> References: <1441295429.4215.0@smtp.gmail.com> <87vbbrl2ai.fsf@petton.fr> <1441907170.4222.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 1441923192 10156 80.91.229.3 (10 Sep 2015 22:13:12 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 10 Sep 2015 22:13:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Simen =?utf-8?Q?Heggest=C3=B8yl?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Sep 11 00:13:02 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 1ZaA5L-00071M-M7 for ged-emacs-devel@m.gmane.org; Fri, 11 Sep 2015 00:12:51 +0200 Original-Received: from localhost ([::1]:52270 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaA5L-0006Py-4W for ged-emacs-devel@m.gmane.org; Thu, 10 Sep 2015 18:12:51 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60899) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaA56-0006Pa-Jc for emacs-devel@gnu.org; Thu, 10 Sep 2015 18:12:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaA53-0005Uk-BQ for emacs-devel@gnu.org; Thu, 10 Sep 2015 18:12:36 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:59453) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaA53-0005US-5Z for emacs-devel@gnu.org; Thu, 10 Sep 2015 18:12:33 -0400 Original-Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id B1F13206F5 for ; Thu, 10 Sep 2015 18:12:31 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute2.internal (MEProxy); Thu, 10 Sep 2015 18:12:31 -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=h9MeUsu+HTFqSWOe7vEYzJj9i54=; b=FdQnb 9zGhGQmLNt92OjeSUTYs7xDfWZGtxLfrs8OEhty3wTQJOhzu2AWDQqcG7FeOsAS8 PjPRtZz4ySPmKwmItIGuETv43RUhe5MtSKQFuC7fIema3quotQz4TaPTz0GlPSIg Pofa0IsW52mPRz6DFGvP3gKAK3JD1H3zImkjaE= X-Sasl-enc: Bii74cbDNEsferKe2fI+vckkSWo96OVVBTDsiRdK3eCX 1441923151 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 2500AC00287; Thu, 10 Sep 2015 18:12:31 -0400 (EDT) In-Reply-To: <1441907170.4222.0@smtp.gmail.com> 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:189825 Archived-At: --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Simen Heggest=C3=B8yl writes: > > While we're on it, wouldn't seq-some be even more powerful if it > guaranteed to return the value from the first matched element? Or > would that somehow be difficult for some kinds of seqs? I added another function seq-find that does just that. Cheers, 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 iQEcBAEBCAAGBQJV8gBNAAoJECM1h6R8IHkQXk8IAJtih+EXq8RLyAkyuWMONmQT gv5qNSAJQBFf8ofJGg3bJV312C+VHqWGLVcFzDsfsF1JC3oV6WSpXpHfwNfB0tyI PCWFWGuE7yddaPBuWNVpujS/RY27zH9rnUD6/agfqk2Pu8q+b2HhgH+V4j93+sGs tp/P92YFMcTcGVMTkVUWR+flgh5HWYCLmL+iYpj8+Y20/bTyazD6M+e2st64A3t0 xJN9GeaTSdHaCBR0zOQ4DIRmq7Ngi9Shn9XwOP6CZo4oIZSmWyR/JUnvt6ErsBY4 Hmr4S/VElooj83JjiEkEGEsU7qAmv0j5JLyc4EHoJ9jAm8om0G6TBkZF/2GN4JM= =/k5g -----END PGP SIGNATURE----- --=-=-=--