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 17:46:42 +0200 Message-ID: <87fusm74bh.fsf@petton.fr> References: <87twhbmwbx.fsf@web.de> <878tynl720.fsf@petton.fr> <8737onlapw.fsf@web.de> <87ziqu7ew9.fsf@petton.fr> <87mvmuxuyo.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 1465487243 32274 80.91.229.3 (9 Jun 2016 15:47:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 9 Jun 2016 15:47:23 +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 17:47:08 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 1bB2Aj-0004v3-OP for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2016 17:47:06 +0200 Original-Received: from localhost ([::1]:35262 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB2Ai-0005C7-HI for ged-emacs-devel@m.gmane.org; Thu, 09 Jun 2016 11:47:04 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:60589) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB2Ad-0005C2-2u for emacs-devel@gnu.org; Thu, 09 Jun 2016 11:47:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bB2AY-0002AU-Sl for emacs-devel@gnu.org; Thu, 09 Jun 2016 11:46:58 -0400 Original-Received: from out2-smtp.messagingengine.com ([66.111.4.26]:48007) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bB2AX-00029c-Ls for emacs-devel@gnu.org; Thu, 09 Jun 2016 11:46:54 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id 26D78211AF; Thu, 9 Jun 2016 11:46:45 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 09 Jun 2016 11:46:45 -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=vEAG6N3+xhQR7GT3ys5m+uOZgto=; b=HcGMX lS+yzMGf8O+cfDi/VSYdorreOsLfhG9c6Mg0ww+K5F2V/8rWmvtpciFvBv7pTg09 05K1VGB3ygH3mA/l++Pdtl2NTloemI71BFpcd56L5TCTZtQLNtFQv8UBdJxeJUcG PWrl5ZnmX1Kj7iZwGVPqOkR1JiBv8wQtbxby+c= X-Sasl-enc: oy3ztPxl9y2CjduSi94JiB+jox3Yi9iTxcvqnisfJkH2 1465487204 Original-Received: from blueberry (175.108.89.92.rev.sfr.net [92.89.108.175]) by mail.messagingengine.com (Postfix) with ESMTPA id 46358F29FA; Thu, 9 Jun 2016 11:46:44 -0400 (EDT) In-Reply-To: <87mvmuxuyo.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:204253 Archived-At: --=-=-= Content-Type: text/plain Michael Heerdegen writes: > Nicolas Petton writes: > >> > `stream-scan' is useful and not redundant. > >> Yes, I get it now. However I'm still a bit confused by its name. > > The name is borrowed from Haskell. Other suggestions welcome. I don't have any :) > I don't understand what that means: how can "reduce" be lazy at all? It > needs to generate all stream elements to compute the requested value, > and that at call time. Of course, you're right! Nico --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQEcBAEBCAAGBQJXWY9iAAoJECM1h6R8IHkQI8gIAJ3DHvkr6ImcIe+mRMtbFNil znjcSlcX9JZWsGp7GzbCEr7snw/7dWQvV5Y3JIlGchWlp1xH6zwwyg+DV/zCIBWg Iu0IxIJCp/h6CbXgX0d4SHcL94Twxy8acThoeE/eK+MWCKSAHdB79AjSuGFXBfz3 LxhFAeKofGSS7liUQ5eyd7Op7YulbHGDGdVqhKWKnAuDvgmZRTC0lNpFcr5tWtwb J39jGldipgy3TDUFjRbKcyC87ai1CP1u7ZPSXVW/Y+dkg3XQld6p3aboDnhYuMEV NNqRHNDsN3tYDouMShuBirnF8jL0K/jrCuM6TWxvgj7Iiwgcz7ueg+4RE+fgSkY= =CUz1 -----END PGP SIGNATURE----- --=-=-=--