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, 09 Jun 2016 13:58:14 +0200 Message-ID: <87ziqu7ew9.fsf@petton.fr> References: <87twhbmwbx.fsf@web.de> <878tynl720.fsf@petton.fr> <8737onlapw.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 1465473564 30382 80.91.229.3 (9 Jun 2016 11:59:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 11:59:24 +0000 (UTC) Cc: emacs-devel@gnu.org To: Michael Heerdegen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Jun 09 13:59:14 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 1bAycD-0007tF-4M for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2016 13:59:13 +0200 Original-Received: from localhost ([::1]:33925 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAycC-000069-4j for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2016 07:59:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53509) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAybY-0008Vs-Ng for emacs-devel@gnu.org; Thu, 09 Jun 2016 07:58:33 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bAybT-0008RA-PV for emacs-devel@gnu.org; Thu, 09 Jun 2016 07:58:31 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:57912) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bAybS-0008N0-G2 for emacs-devel@gnu.org; Thu, 09 Jun 2016 07:58:27 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id EC2B0205FB; Thu, 9 Jun 2016 07:58:16 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 09 Jun 2016 07:58:16 -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=3PHa+fanxJEAS6zrwigZIKn0ls8=; b=ST8sW otdS6YeYguhEPxJHqQUjEfBw4mBzqB/rNpdzE5PYBsyVFy64ngFc+thWw1vHqiGg seowb0XGpKjFfFxBh0hYEPa9sBtgBIu9twqLor8E9MgWs7GUJdS+kY5gpE712EfN uFoN0263Z/ZZa+0iyjggineITIHBkVHna36/XM= X-Sasl-enc: NqCB/l4QgPxZUEYI5q6ZU7tx0inc10l4wZQNv81oSqZo 1465473496 Original-Received: from blueberry (175.108.89.92.rev.sfr.net [92.89.108.175]) by mail.messagingengine.com (Postfix) with ESMTPA id 508BCF29FA; Thu, 9 Jun 2016 07:58:16 -0400 (EDT) In-Reply-To: <8737onlapw.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:204248 Archived-At: --=-=-= Content-Type: text/plain Michael Heerdegen writes: > I updated the patch. Thanks! > `stream-scan' is useful and not redundant. Yes, I get it now. However I'm still a bit confused by its name. > `stream-reduce' was indeed redundant, as the generic `seq-reduce' > already works for streams, so I removed it. Your implementation in your previous patch was however lazy, right? Would it make sense to add a specific implementation of `seq-reduce' for streams that'd be lazy? Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJXWVnWAAoJECM1h6R8IHkQ3aMIAJrO6BhyQhYKrdkWox1Fujrc V2Z7ujGONFRjkEBlTv8rimllxHT+hrvCIFNyn4mRa4jpKnQbpaZX8bz9pWPDiSBj /amY3cuHN0BL7CeevEmd8gHw73xL/nUyBWuw8lviKaNF79LNf1fJELuWO89mcI7Q 6YFweZtFfAg07IsBsqFYh5qDckgW/Dp61MIhKdPvALuXe47lK63VBJM9e9v6jPEM 1ylROgfprQEYCVdu1oEo1h97LV7QDQ/EYsnQoYuhY1vCSuz3wxsyC2vsUhi7b8pj PmmI5KOQjy5Hu9Q9209XvJwugBvPvY0ylvGuN18MPLtYh2OAnoH+YC5ulirUG14= =11Qf -----END PGP SIGNATURE----- --=-=-=--