From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Yuri Khan Newsgroups: gmane.emacs.devel Subject: Re: [PATCH] Gnu Elpa: stream.el: Add some more basic stream operations Date: Sat, 17 Sep 2016 12:22:29 +0600 Message-ID: References: <87twhbmwbx.fsf@web.de> <878tynl720.fsf@petton.fr> <8737onlapw.fsf@web.de> <87ziqu7ew9.fsf@petton.fr> <87mvmuxuyo.fsf@web.de> <8760tixi99.fsf@web.de> <87twh1kpem.fsf@web.de> <87y42r4d3a.fsf@web.de> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1474093465 18188 195.159.176.226 (17 Sep 2016 06:24:25 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 17 Sep 2016 06:24:25 +0000 (UTC) Cc: Nicolas Petton , Emacs developers To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Sep 17 08:24:20 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 1bl92l-0002ZU-Mk for ged-emacs-devel@m.gmane.org; Sat, 17 Sep 2016 08:24:07 +0200 Original-Received: from localhost ([::1]:44940 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bl92i-0004fE-KY for ged-emacs-devel@m.gmane.org; Sat, 17 Sep 2016 02:24:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:43321) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bl92a-0004f9-3A for emacs-devel@gnu.org; Sat, 17 Sep 2016 02:23:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bl92W-0001Zb-Tg for emacs-devel@gnu.org; Sat, 17 Sep 2016 02:23:56 -0400 Original-Received: from mail-lf0-f51.google.com ([209.85.215.51]:33181) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bl92W-0001Yf-M3 for emacs-devel@gnu.org; Sat, 17 Sep 2016 02:23:52 -0400 Original-Received: by mail-lf0-f51.google.com with SMTP id h127so79407312lfh.0 for ; Fri, 16 Sep 2016 23:23:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=o6JUHFSsrF3wSqtv+DrXQleufF5c6q9sv2DM+IjeKGY=; b=lorGVSmBUClM7L04E386EEdGiyvBR7E2ZG9xl1y2dFCuxct+T6UF6aiBBVz8CbAjQo Lnn2aDwJsupMaCDB+GVea0UN2187lr/NKOSeFB8FF1XCq/93iyU8ojd1HfCSPUS2zQk0 mLwSjMcCW+tOoBDjENVuB9XZu7W/D/zZ9289lBH84LgLLClgRHw1Xsk1uZHY2Ib9Lb0H Znvz96TOc5IY+wec1nM8Kt6rkrh/GZGD/mAhWKxvNSQvqihUo60BHBXiZ566sPjC+p25 tWau9tBGNKXtX7LpYu+x7t5mmI9b3eGCyP1JQpmTCD3SuI7lyRL8TLnp4KOgq25gvzp+ IqTg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=o6JUHFSsrF3wSqtv+DrXQleufF5c6q9sv2DM+IjeKGY=; b=ieQX6vq8q2UX5+x5lzCvCRcjr0BYuAQnovBj7ZV9ejY+VftRa/q6Dx+WqbS6c+3vSx R+ymMAlBSAiL15cYvn1h8tmHe3QPHte9hD/OMzQK9/OOMZsZmTxR7/9T2xa9HaSmZjXV tESyj4/iKV7rUXgGXR2BQwwaHJ4DiUjNaUMQM524/8U7Yx5VPclbT5/20Ni2PjdCOfwd ss6P3fb5rbvTaLD4HL5tR3cbycF1CwQPlBXDYUmhd72ejpDtayg3Pyl0bPcrnxJeypYP NfHUSt+1nhbNE4An1eWfr2ZeTdKZJhpil90VSOU3gPoCwG7PZ3CaYWKUsfKHtEPrWQIj 7Akw== X-Gm-Message-State: AE9vXwMWAVF178KKKHD6eeNjF3JaZjZhTsK9beP6VmzQHmYfYpBwZ3+/VLyKgrMv/sEUwFct0F60tX6ujWwpTA== X-Received: by 10.25.149.140 with SMTP id x134mr6839835lfd.76.1474093370432; Fri, 16 Sep 2016 23:22:50 -0700 (PDT) Original-Received: by 10.114.80.163 with HTTP; Fri, 16 Sep 2016 23:22:29 -0700 (PDT) In-Reply-To: <87y42r4d3a.fsf@web.de> X-Google-Sender-Auth: nEQrdC6vfzd6XAk2scc8AgxUm9s X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 209.85.215.51 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:207472 Archived-At: On Sat, Sep 17, 2016 at 6:52 AM, Michael Heerdegen wrote: > For example, if stream > > S =3D 0, 0, ..., 0, 1, 2, 3, ... > > We would want a function seq-X so that > > (seq-X #'zerop S) =3D=3D 0, 1, 2, ... > > I think that this function would be useful (I already needed it). But > what word sequence X would describe these semantics (how should we call > the function)? You=E2=80=99re right, drop-until is not a good match for this semantics. By the way, how would you describe the required behavior without going operational (mirroring the implementation)?