From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: John Wiegley Newsgroups: gmane.emacs.devel Subject: Re: streams are cool, you could stream virtually anything! Date: Fri, 06 Nov 2015 11:13:15 -0500 Message-ID: References: <87ziyuaqhl.fsf@petton.fr> <87fv0labbf.fsf@web.de> <87y4eda0kl.fsf@petton.fr> <8737wl9w5f.fsf@web.de> <87bnb8kd82.fsf@petton.fr> <87wptwirxw.fsf@petton.fr> <877flwl7ee.fsf@web.de> <87y4ecglb5.fsf@petton.fr> <87ziys57hl.fsf@web.de> <87y4eb4d3o.fsf@petton.fr> <87r3k3451f.fsf@petton.fr> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1446826427 18682 80.91.229.3 (6 Nov 2015 16:13:47 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Nov 2015 16:13:47 +0000 (UTC) Cc: Michael Heerdegen , bruce.connor.am@gmail.com, emacs-devel To: Nicolas Petton Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 06 17:13:28 2015 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 1Zujdn-0001zb-Gn for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 17:13:27 +0100 Original-Received: from localhost ([::1]:39735 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zujdn-000191-32 for ged-emacs-devel@m.gmane.org; Fri, 06 Nov 2015 11:13:27 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48145) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zujdj-00018w-Ss for emacs-devel@gnu.org; Fri, 06 Nov 2015 11:13:24 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zujdf-0002qN-Pd for emacs-devel@gnu.org; Fri, 06 Nov 2015 11:13:23 -0500 Original-Received: from mail-vk0-x22d.google.com ([2607:f8b0:400c:c05::22d]:34688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zujdf-0002q2-Ld for emacs-devel@gnu.org; Fri, 06 Nov 2015 11:13:19 -0500 Original-Received: by vkgs66 with SMTP id s66so17438545vkg.1 for ; Fri, 06 Nov 2015 08:13:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:in-reply-to:date:message-id:references :user-agent:mail-followup-to:mime-version:content-type; bh=Llr7R4rKhg83bIGDK5R6RFL0fIpq3zZWesguCt7DT+w=; b=ca298GkrXAgVaeniJ/49Qzi2UpnU8kfn/dc6NNURf3UaUWkL3Nn+C+uVBZys/JjYx4 5yQ91HJx1NKiAPLqnIO0WUuOqvma35OJ6iBgPhV2tP3d2+dbXxedOfjR5llro6Kc1G5W f2Mq+/3zL1vK7J9AXR8C08nxw8f9eoC7/OVFrQGulnGliCbtJKTWia+5Eowd9kQBZ822 1xX8gn8/ndCc/lv7RcBJYZvWE/jc7EAvf04DxcQ2RGtzfBViyIQ9KZwu7yBILGZCEouj QQzY4VRGJPrbP/72ViCAZ29j1E3Bh6kr0ZnsRZDbTQ/at27zaPT2FKfx6Hg869yDkVEt U4fQ== X-Received: by 10.31.130.71 with SMTP id e68mr14408106vkd.11.1446826399266; Fri, 06 Nov 2015 08:13:19 -0800 (PST) Original-Received: from Hermes-2.local ([216.57.92.130]) by smtp.gmail.com with ESMTPSA id x200sm632538vkd.17.2015.11.06.08.13.18 (version=TLSv1 cipher=RC4-SHA bits=128/128); Fri, 06 Nov 2015 08:13:18 -0800 (PST) X-Google-Original-From: "John Wiegley" Original-Received: by Hermes-2.local (Postfix, from userid 501) id F418548F2C68; Fri, 6 Nov 2015 11:13:17 -0500 (EST) In-Reply-To: (John Wiegley's message of "Fri, 06 Nov 2015 10:41:19 -0500") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) Mail-Followup-To: Nicolas Petton , bruce.connor.am@gmail.com, emacs-devel , Michael Heerdegen X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400c:c05::22d X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:193451 Archived-At: >>>>> John Wiegley writes: > As someone else mentioned, lists and streams overlap at the notion of > sequences -- the main differences being the operational semantics of > laziness, and the semantics of allowing infinite streams. > So let's say I've written a function over lists, and I realize I want it to > act on streams instead. I'd hope that I could just insert "stream-" in > several places and fulfill that need. If I have to also change over to a > different set of names for the same effective operations, that would be > unfortunate. This got sent before reading your comments on `seq', Nicolas, so please disregard. John