From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Tino Calancha Newsgroups: gmane.emacs.devel Subject: Re: A few thoughts on seq.el Date: Tue, 2 Aug 2016 11:49:41 +0900 (JST) Message-ID: References: <87bn1d1zhu.fsf@petton.fr> NNTP-Posting-Host: blaine Mime-Version: 1.0 Content-Type: text/plain; format=flowed; charset=US-ASCII X-Trace: blaine.gmane.org 1470106242 14576 195.159.176.226 (2 Aug 2016 02:50:42 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Aug 2016 02:50:42 +0000 (UTC) User-Agent: Alpine 2.20 (DEB 67 2015-01-07) Cc: emacs-devel@gnu.org, Tino Calancha To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Aug 02 04:50:38 2016 Return-path: Envelope-to: ged-emacs-devel@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 1bUPmv-0003fc-6U for ged-emacs-devel@m.gmane.org; Tue, 02 Aug 2016 04:50:37 +0200 Original-Received: from localhost ([::1]:53708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUPmr-00018Y-Ra for ged-emacs-devel@m.gmane.org; Mon, 01 Aug 2016 22:50:33 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:39083) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUPmD-00018E-It for emacs-devel@gnu.org; Mon, 01 Aug 2016 22:49:54 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bUPm7-0003K9-Ex for emacs-devel@gnu.org; Mon, 01 Aug 2016 22:49:52 -0400 Original-Received: from mail-pf0-x230.google.com ([2607:f8b0:400e:c00::230]:36851) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bUPm7-0003Jz-7M for emacs-devel@gnu.org; Mon, 01 Aug 2016 22:49:47 -0400 Original-Received: by mail-pf0-x230.google.com with SMTP id h186so61060524pfg.3 for ; Mon, 01 Aug 2016 19:49:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=0ZQv2IQJDuPyA2GbRSIkatvtuzJ0KY6+GsXAhDEqt4A=; b=vrigXiSN2WPEYmKuocFYhpWUJ3QMsQlfkbYK7hVCAfHSRxBYOrS5Dm3Men5PFQ2THx kYL0OwxTU3M+8YB5AeyZwjFOsX79R30gW3H2aXVMPZjfUBiKXQJnkJcYJv1wKvP3QhFt OHmmGEdgseMmROhwVeAVuXL3bnoIAo1lY95xuIhSkhPuixwlo/I7PCV3RkQx0qI9k5VV fz/MOJjdHxVTzh1ciI51Xajz9o1gv78ZUPjbs5DPaJ1w1d7ZWUWtTpsabXgePmbJc4u0 8i6OzPTMxnawEfUt210HbJ8xRt1ZZ5Aw7SnLPiBd+GE78vWwGg7B8RJen2J8js5pYcPa FpGg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=0ZQv2IQJDuPyA2GbRSIkatvtuzJ0KY6+GsXAhDEqt4A=; b=NDlQqUBBSVTUEJZ0tqisjlmb0aoHdA2B7H7sWPfIbzXSrMwXCBkwITgcRTB0YIA1PW 6P1bF5LWB3CW+et6liDHbYYUmMSL6sFkW+uWmzuZmENyBSyVb+Hujd+fJbSO7MxYMwLy yfU+hMH4SEinLOAoQi/kuGDXw6E2jveC9LK39YZYiiwuF00f+YuhYG7AXwdVOzaVCbrv IEQobu4pzGmgkGXgm7nHnetuZLC3Jjt2Lnp7eu+709oPg+UjiOvD8DOkrE9AiZde/RBw wBsoUlh0iRpRzG/XsOm6eeLVh591F9qUe3bZ2mddld/U2uEMYCE5gNLnjxacO6aPzx9R k5Lw== X-Gm-Message-State: AEkooutbdxe3RepbiX5egjhwqOlIdoRdjgpqTGEriKORz3lt2TbA425EDoB/rd5phcUG1g== X-Received: by 10.98.201.138 with SMTP id l10mr101202534pfk.77.1470106186048; Mon, 01 Aug 2016 19:49:46 -0700 (PDT) Original-Received: from calancha-pc (mail.family-wifi.jp. [180.42.51.5]) by smtp.gmail.com with ESMTPSA id cf1sm279281pac.20.2016.08.01.19.49.43 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 01 Aug 2016 19:49:45 -0700 (PDT) X-Google-Original-From: Tino Calancha X-X-Sender: calancha@calancha-pc In-Reply-To: <87bn1d1zhu.fsf@petton.fr> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:400e:c00::230 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:206340 Archived-At: On Sun, 31 Jul 2016, Nicolas Petton wrote: > However, I could introduce another function that would take a predicate, > and `seq-position' could reuse it. But I don't want to get rid of > `seq-position' as it exists today, I think it's too useful. It would be great having such new function. I have some code which use `cl-position-if'. With the inclusion of this new func in 'seq i could switch easily to 'seq instead of 'cl-lib if i wish.