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: [PATCH] Gnu Elpa: stream.el: Add some more basic stream operations Date: Thu, 02 Jun 2016 21:33:27 +0200 Message-ID: <878tynl720.fsf@petton.fr> References: <87twhbmwbx.fsf@web.de> 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 1464896121 29828 80.91.229.3 (2 Jun 2016 19:35:21 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 2 Jun 2016 19:35:21 +0000 (UTC) To: Michael Heerdegen , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 02 21:35:12 2016 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 1b8YOc-0000NJ-Fo for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2016 21:35:10 +0200 Original-Received: from localhost ([::1]:49966 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8YOb-0002N7-LE for ged-emacs-devel@m.gmane.org; Thu, 02 Jun 2016 15:35:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:47466) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8YNI-0001y6-Dl for emacs-devel@gnu.org; Thu, 02 Jun 2016 15:33:49 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8YNC-0003fM-FH for emacs-devel@gnu.org; Thu, 02 Jun 2016 15:33:47 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:36875) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8YNB-0003e7-7j for emacs-devel@gnu.org; Thu, 02 Jun 2016 15:33:42 -0400 Original-Received: from compute7.internal (compute7.nyi.internal [10.202.2.47]) by mailout.nyi.internal (Postfix) with ESMTP id 40F1E20C18; Thu, 2 Jun 2016 15:33:30 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute7.internal (MEProxy); Thu, 02 Jun 2016 15:33:30 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=TArV2Anbc+BjZfUyifDkA4z8mYA=; b=dn5+J +G731Gp8T12zTmSixzdzvBOIOTgpyNL6CsucrDuDiIiiyCYJPnei4564t7ofZJq/ shDVhvdI9HVJlGafBUhKloiuP0Yn1FXrmXsZUOTKIRDQkvAd7oxst1nbuVlsjSDj /NcN+G3sAWjBZX5CUHe0pPIl8p4TKtybJ8Hfeg= X-Sasl-enc: g9YzbE9clEr97P7RyG0RDQ6A5OdRaNxjIJjYhuPbTaz4 1464896009 Original-Received: from blueberry (lfbn-1-7726-61.w92-167.abo.wanadoo.fr [92.167.139.61]) by mail.messagingengine.com (Postfix) with ESMTPA id A67D4CC023; Thu, 2 Jun 2016 15:33:29 -0400 (EDT) In-Reply-To: <87twhbmwbx.fsf@web.de> User-Agent: Notmuch/0.21 (http://notmuchmail.org) Emacs/25.1.50.2 (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.26 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:204178 Archived-At: --=-=-= Content-Type: text/plain Michael Heerdegen writes: Hi Michael, > +(defun stream-scan (function init stream) > + "Return a stream of successive reduced values for STREAM. Why not using `seq-reduce'? > +(defun stream-mapconcat (function stream separator) Would `seq-mapconcat' with a stream-specific implementation make sense? Cheers, Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJXUIoHAAoJECM1h6R8IHkQhV0H/06vSTwSnwqIaCdtm7lEUOzn Nt7RRu+E16HEB+4jrlWeffkShLEAo3vF+F94RJ7MW+SI502LS/u1qrvo6a1372xC icuMo1Mk17AS9klI+iXlDWL9rDx/vLIGg8B+f7f3zEUjO5qqiUb+vzSUkQVRGEvh pErIe8eOy8m6JXCewalHyg2TWUIb4fopnBT8jniBU+gmogpTZBKGfQ9NYhXQ0Zxk laTaHgnM16r0vDgTc8niW6qoMjlBQue2OBEsO9LT7fcFw9c9ezuyS01Rw//pBDiS 4IbADUuKfeaOPhJjR/pAh6fHV6MiXgYvzwdyCtg7HTaUhQPf0sbAfDVSO23uOM0= =fRR1 -----END PGP SIGNATURE----- --=-=-=--